Welcome to Code Forum :)
Looks like you have found where to post already, but yeah the HTML & CSS forum would be suited for all your HTML & CSS questions.
Hey Bobcat,
So when I code with media queries, I normally code the mobile view as normal (without media query)l but then when the screen-size grows I'll then add something like min-width: 900px and then modify the css to fit the new screen-size.
Hi there,
Can you tell us more about what you're trying to do and why? This will help us better understand what you're trying to do and provide more accurate answers to your questions.
Hi there,
So I got it (code is down below), what I did was declared variables to store the values of the element specified. Then added two event listeners, one for when mouse is over the text and another for when the mouse is off. Within those functions, I adjusted the font size with this...
Hmm, try this:
input[type="text"],
input[type="date"] {
padding: 1rem;
outline: none;
border: solid 1px #000;
}
In your css code, I noticed you specified button but should be "input" as the css format selector{} refers to an HTML tag in CSS. In your HTML you have two inputs.
Hey there,
On my phone so might not be able to provide the best answer. But in your CSS you can specify the selector as your ID value in your HTML.
For example:
#dob {
padding: 10px;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.