Button by Peary74
#e8e8e8
1.del { 2 position: relative; 3 top: 0; 4 left: 0; 5 width: 160px; 6 height: 50px; 7 margin: 0; 8 display: flex; 9 justify-content: center; 10 align-items: center; 11} 12 13.del div { 14 width: 100%; 15 height: 100%; 16 display: flex; 17 justify-content: center; 18 align-items: center; 19 background: none; 20 box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5), 21 -4px -4px 6px 0 rgba(116, 125, 136, .5), 22 inset -4px -4px 6px 0 rgba(255,255,255,.2), 23 inset 4px 4px 6px 0 rgba(0, 0, 0, .4); 24 border-bottom: 1px solid rgba(255, 255, 255, 0.1); 25 border-top: 1px solid rgba(255, 255, 255, 0.1); 26 border-radius: 10px; 27 letter-spacing: 1px; 28 color: #000; 29 z-index: 1; 30 transition: .6s; 31} 32 33.del:hover div { 34 letter-spacing: 4px; 35 color: #fff; 36} 37 38.del::after, 39.del::before { 40 content: ''; 41 position: absolute; 42 bottom: 0; 43 right: 0; 44 z-index: -99999; 45 transition: all .4s; 46} 47 48.del::after { 49 transform: translate(15px, 15px); 50 width: 35px; 51 height: 35px; 52 background: #000; 53 backdrop-filter: blur(5px); 54 border-radius: 10px; 55} 56 57.del:hover::after { 58 border-radius: 10px; 59 transform: translate(0, 0); 60 width: 100%; 61 height: 100%; 62} 63 64 65 66
484 views
484 views
MIT License