#e8e8e8
1.editBtn { 2 width: 55px; 3 height: 55px; 4 border-radius: 20px; 5 border: none; 6 background-color: rgb(93, 93, 116); 7 display: flex; 8 align-items: center; 9 justify-content: center; 10 box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.123); 11 cursor: pointer; 12 position: relative; 13 overflow: hidden; 14 transition: all 0.3s; 15} 16.editBtn::before { 17 content: ""; 18 width: 200%; 19 height: 200%; 20 background-color: rgb(102, 102, 141); 21 position: absolute; 22 z-index: 1; 23 transform: scale(0); 24 transition: all 0.3s; 25 border-radius: 50%; 26 filter: blur(10px); 27} 28.editBtn:hover::before { 29 transform: scale(1); 30} 31.editBtn:hover { 32 box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.336); 33} 34 35.editBtn svg { 36 height: 17px; 37 fill: white; 38 z-index: 3; 39 transition: all 0.2s; 40 transform-origin: bottom; 41} 42.editBtn:hover svg { 43 transform: rotate(-15deg) translateX(5px); 44} 45.editBtn::after { 46 content: ""; 47 width: 25px; 48 height: 1.5px; 49 position: absolute; 50 bottom: 19px; 51 left: -5px; 52 background-color: white; 53 border-radius: 2px; 54 z-index: 2; 55 transform: scaleX(0); 56 transform-origin: left; 57 transition: transform 0.5s ease-out; 58} 59.editBtn:hover::after { 60 transform: scaleX(1); 61 left: 0px; 62 transform-origin: right; 63} 64
313 views
313 views
Comments
MIT License