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