JSFiddle - React, Tailwind, and code Playground HTML <input type="text" /> CSS input[type=text] { text-align: right; }