Last active
July 19, 2024 15:04
-
-
Save leraux/a7f4fb16eecd097cd8162e2e8a6ce6e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: skyblue; | |
align-content: center; | |
text-align: center; | |
} | |
* {box-sizing: border-box;} | |
.button { | |
align-self: center; | |
text-align: center; | |
width: 60%; | |
display: inline-block; | |
padding: 15px; | |
margin-bottom: 30px; | |
font-weight: 400; | |
font-size: 23px; | |
line-height: 20px; | |
color: rgb(255, 255, 255); | |
text-shadow: rgba(0, 0, 0, 0.270588) 0px 1px 1px; | |
vertical-align: middle; | |
cursor: pointer; | |
background-color: rgb(85, 85, 85); | |
border: 1px solid rgb(73, 73, 73); | |
border-top-left-radius: 5px; | |
border-top-right-radius: 5px; | |
border-bottom-right-radius: 5px; | |
border-bottom-left-radius: 5px; | |
background-image: linear-gradient(to top, rgb(82, 82, 82), rgb(105, 105, 105)); | |
text-decoration: none; | |
margin-right: 5px; | |
margin-left: 5px; | |
box-shadow: rgba(255, 255, 255, 0.4) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.2) 0px 0px 5px 0px inset, rgba(255, 255, 255, 0) 0px 67px 67px -40px inset, rgb(46, 46, 46) 0px 2px 0px 0px, rgba(0, 0, 0, 0.4) 0px 3px 6px 0px; | |
} | |
.button-common { | |
border: 1px solid #009e62; | |
background-color: #00c67c; | |
background-image: | |
linear-gradient(0deg, #00b772, #00d486); | |
box-shadow: | |
inset 0 1px 0 0 rgba(255,255,255,0.4), | |
inset 0 0 5px 0 rgba(255,255,255,0.2), | |
inset 0 67px 67px -40px rgba(255,255,255,0), | |
0 2px 0 0 #008f5a, | |
0 3px 6px 0 rgba(0,0,0,0.4); | |
} | |
.button-hello:hover { | |
border-color: rgba(0,158,98,0.5); | |
box-shadow: | |
inset 0 1px 0 0 rgba(255,255,255,0.6), | |
inset 0 0 5px 0 rgba(255,255,255,0.2), | |
inset 0 67px 67px -40px rgba(255,255,255,0.3), | |
0 2px 0 0 #008f5a, | |
0 3px 8px 0 rgba(0,0,0,0.4); | |
} | |
.button-hello:active { | |
box-shadow: | |
inset 0 1px 0 0 rgba(255,255,255,0), | |
inset 0 1px 7px -1px rgba(0,0,0,0.35), | |
inset 0 67px 67px -40px rgba(255,255,255,0), | |
0 2px 0 0 rgba(79,111,168,0), | |
0 4px 7px 0 rgba(0,0,0,0); | |
transform: translate(0px, 2px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment