Button by ashish-yadv
#212121
1.button { 2 display: flex; 3 justify-content: center; 4 align-items: center; 5 position: relative; 6} 7 8#buy { 9 padding: 1.2rem 6rem; 10 border: 0.065rem solid #000; 11 border-radius: 6px; 12 color: #fff; 13 font-size: 1.5rem; 14 font-weight: 600; 15 letter-spacing: 0.111rem; 16 transition: all 0.15s ease-in-out; 17 background-color: #000; 18} 19 20#buy:hover { 21 cursor: pointer; 22 background-color: #ff91e7; 23 color: #000; 24 scale: 0.9; 25} 26 27#btn_back { 28 width: 100%; 29 height: 100%; 30 background-color: #000; 31 position: absolute; 32 bottom: 0; 33 right: 0; 34 border-radius: 6px; 35 z-index: -1; 36} 37
187 views
Variation of abutton
MIT License