3.7K views
1.input { 2 width: 100%; 3 max-width: 220px; 4 height: 45px; 5 padding: 12px; 6 border-radius: 12px; 7 border: 1.5px solid lightgrey; 8 outline: none; 9 transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1); 10 box-shadow: 0px 0px 20px -18px; 11} 12 13.input:hover { 14 border: 2px solid lightgrey; 15 box-shadow: 0px 0px 20px -17px; 16} 17 18.input:active { 19 transform: scale(0.95); 20} 21 22.input:focus { 23 border: 2px solid grey; 24}
ErzenXz
Erzen Krasniqi
MIT License