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