Button by Codecite
#e8e8e8
1.btn { 2 border: 0 solid; 3 cursor: pointer; 4 font-family: system-ui; 5 font-size: 100%; 6 background: linear-gradient(90deg, blue, red); 7 border-radius: 999px; 8 font-weight: 900; 9 padding: 1.8rem 5rem; 10 position: relative; 11 text-transform: uppercase; 12} 13 14.btn span { 15 background: #1e293b; 16 border-radius: 999px; 17 color: #fff; 18 display: grid; 19 inset: 5px; 20 place-items: center; 21 position: absolute; 22 transition: background 0.3s; 23} 24 25.btn:hover span { 26 background: none; 27}
692 views
692 views
MIT License