Loading... Please wait
Run
.input { padding: 8px 20px; font-size: 18px; font-family: sans-serif; border: 1px solid #dadada; border-radius: 4px; color: #2f2f2f; outline: none; width: 20%; transition: all 0.5s; } .input:focus { width: 80%; background: #dadada; }
X
Edit in Trycode