This post is saved as a draft.
#e8e8e8
1.btn { 2 display: inline-block; 3 padding: 10px 20px; 4 border: none; 5 background-color: #f44336; 6 color: #fff; 7 font-size: 20px; 8 font-weight: bold; 9 text-transform: uppercase; 10 letter-spacing: 0.1em; 11 cursor: pointer; 12 position: relative; 13 overflow: hidden; 14 transition: all 0.3s ease-in-out; 15} 16 17.btn::before { 18 content: ''; 19 position: absolute; 20 top: 0; 21 left: 0; 22 width: 100%; 23 height: 100%; 24 opacity: 0.2; 25 z-index: -1; 26} 27 28.btn:hover { 29 background-color: #fff; 30 color: #f44336; 31 text-shadow: 0 0 5px #f44336; 32 box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px; 33} 34 35.btn span { 36 display: inline-block; 37 position: relative; 38 transition: all 0.3s ease-in-out; 39} 40 41.btn:hover span { 42 transform: rotate(-10deg) scale(1.1); 43} 44
Variation of abutton
Variation of abutton