input[type="text"] { /* Flexibility */ box-sizing: border-box; width: 100%; /* Styling */ padding: .4em .55em; font-size: inherit; font-family: inherit; color: inherit; border: 0; border-radius: .25em; outline: none }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter