#e8e8e8
1.button { 2 width: 180px; 3 height: 40px; 4 background-image: linear-gradient(rgb(214, 202, 254), rgb(158, 129, 254)); 5 border: none; 6 border-radius: 50px; 7 color: rgb(255, 255, 255); 8 font-weight: 600; 9 display: flex; 10 align-items: center; 11 justify-content: center; 12 gap: 5px; 13 cursor: pointer; 14 box-shadow: 1px 3px 0px rgb(139, 113, 255); 15 transition-duration: .3s; 16} 17 18.cartIcon { 19 width: 14px; 20 height: fit-content; 21} 22 23.cartIcon path { 24 fill: white; 25} 26 27.button:active { 28 transform: translate(2px ,0px); 29 box-shadow: 0px 1px 0px rgb(139, 113, 255); 30 padding-bottom: 1px; 31} 32
6K views
6K views
Comments
MIT License