A Pen by liuxiaomingskm on CodePen.
Created
January 22, 2020 01:17
-
-
Save liuxiaomingskm/4d22158b53570293c69fffafc3070f40 to your computer and use it in GitHub Desktop.
zYxMgrg
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
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400" > | |
<h1>This Button Does Nothing</h1> | |
<button class="btn">Click Me</button> |
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
.btn { | |
outline:none; | |
border:none; | |
cursor:pointer; | |
display:block; | |
position:relative; | |
background-color:#fcad26; | |
font-size:16px; | |
font-weight:300px; | |
color:white; | |
text-transform:uppercase; | |
letter-spacing:2px; | |
padding:25px 80px; | |
margin: 0 auto; | |
border-radius:20px; | |
box-shadow:0 6px #efa424; | |
} | |
.btn:hover{ | |
box-shadow:0 4px #efa424; | |
top: 2px; | |
} | |
.btn:active{ | |
box-shadow: none; | |
top:6px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment