input box css style examples Example: css set styles for input text input[type="text"] { font-size: 0.9em; padding-top: 0.35rem;}