Button by JsGrisales
#212121
1button { 2 min-height: 53px; 3 min-width: 166px; 4 display: -webkit-box; 5 display: -ms-flexbox; 6 display: flex; 7 -webkit-box-align: center; 8 -ms-flex-align: center; 9 align-items: center; 10 -ms-flex-pack: distribute; 11 justify-content: space-around; 12 position: relative; 13 cursor: pointer; 14 background: -webkit-gradient(linear, left top, right top, color-stop(-12.74%, rgba(110, 239, 255, .5)), color-stop(56.76%, rgba(106, 224, 255, .271))); 15 background: linear-gradient(90deg, rgba(110, 239, 255, .5) -12.74%, rgba(106, 224, 255, .271) 56.76%); 16 border: 2px solid #acf7ff; 17 color: #FFFFFF; 18 font-size: 18px; 19 font-weight: 600; 20} 21 22button:before { 23 content: ""; 24 width: 4px; 25 height: 28px; 26 background: #19173b; 27 border: 2px solid #acf7ff; 28 -webkit-transform: rotate(-45deg); 29 -ms-transform: rotate(-45deg); 30 transform: rotate(-45deg); 31 position: absolute; 32 border-top: 0; 33 border-left: 0; 34 border-bottom: 0; 35 bottom: -7px; 36 left: 4px; 37 border-bottom-left-radius: 10px; 38 border-top-left-radius: 10px; 39} 40 41button:after { 42 content: ""; 43 position: absolute; 44 left: -2px; 45 bottom: -2px; 46 border-top: 15px solid transparent; 47 border-left: 15px solid #fffcf7; 48}
15K views
15K views
MIT License