5.3K views
CSSAdd prefixes
1button { 2 display: flex; 3 align-items: center; 4 justify-content: center; 5 gap: 10px; 6 font-family: inherit; 7 font-size: 13px; 8 font-weight: 500; 9 text-transform: uppercase; 10 letter-spacing: 0.4px; 11 color: #7e97b8; 12 background-color: #e0e8ef; 13 border-style: solid; 14 border-width: 2px 2px 2px 2px; 15 border-color: rgba(255, 255, 255, 0.333); 16 border-radius: 40px 40px 40px 40px; 17 padding: 16px 24px 16px 28px; 18 transform: translate(0px, 0px) rotate(0deg); 19 transition: 0.2s; 20 box-shadow: -4px -2px 16px 0px #ffffff, 4px 2px 16px 0px rgb(95 157 231 / 48%); 21} 22 23button:hover { 24 color: #516d91; 25 background-color: #E5EDF5; 26 box-shadow: -2px -1px 8px 0px #ffffff, 2px 1px 8px 0px rgb(95 157 231 / 48%); 27} 28 29button:active { 30 box-shadow: none; 31}
HTML
1<button> 2 <svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg> Explore me 3</button>