Styling Forms
14.6
Lesson

Color for Text Inputs

We can set the text colour and background colour of text inputs using the color and background-color properties:

An interesting thing here is that since we haven’t specified any border color, the text colour is applied to the border too.