size of input depending on content code example Example: input text size css input[type="text"] { font-size:24px; }