start writing from the center of input code example Example: text input center input { text-align: center; }