Font-size inside input field

I finished building a survey form but I’m not happy with something I cannot seem to adapt.
I want the font-size inside the input fields be bigger. (Also the text inside value=“…”) When I put font-size: 20px; it doesn’t change the text inside the input. Is there a way with css to adapt this? As it looks weird, having all the font-size 20 px but when you read inside the input field or you start filling, you have miserably small text.

input,
textarea {
font-size: 20;
} does not work

Please put your code into a codepen.io page and we can take a look to see why the css is not working.

I hope this works.

you can see in css that font-size is put in.

Try specifying the units. For eg: 20px or em or rem.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.