style the text in input form code example Example: css set styles for input text input[type="text"] { font-size: 0.9em; padding-top: 0.35rem;}