Button by adamgiebl
#c82d2d
1button { 2 height: 50px; 3 margin: 5px; 4 width: 120px; 5 cursor: pointer; 6 background: #f44336; 7 -webkit-box-pack: center; 8 -ms-flex-pack: center; 9 justify-content: center; 10 -webkit-box-align: center; 11 -ms-flex-align: center; 12 align-items: center; 13 font-family: Consolas, Courier New, monospace; 14 border: solid #e53935 1px; 15 font-size: 16px; 16 color: #ffffff; 17 -webkit-transition: 500ms; 18 transition: 500ms; 19 border-radius: 5px; 20 background: linear-gradient(145deg, #e53935, #d32f2f); 21 -webkit-box-shadow: -1px -5px 15px #c62828, 5px 5px 15px #c62828, 22 inset 5px 5px 10px #d32f2f, inset -5px -5px 10px #d32f2f; 23 box-shadow: -1px -5px 15px #c62828, 5px 5px 15px #c62828, 24 inset 5px 5px 10px #d32f2f, inset -5px -5px 10px #d32f2f; 25} 26 27button:hover { 28 -webkit-box-shadow: 1px 1px 13px #b71c1c, -1px -1px 13px #e53935; 29 box-shadow: 1px 1px 13px #b71c1c, -1px -1px 13px #e53935; 30 color: #d6d6d6; 31 -webkit-transition: 500ms; 32 transition: 500ms; 33} 34 35button:active { 36 -webkit-box-shadow: 1px 1px 13px #b71c1c, -1px -1px 33px #e53935; 37 box-shadow: 1px 1px 13px #b71c1c, -1px -1px 33px #e53935; 38 color: #d6d6d6; 39 -webkit-transition: 100ms; 40 transition: 100ms; 41} 42
338 views
Variation of abutton
MIT License