start typing from center of input box code example Example: text input center input { text-align: center; }