CSS Pop-out 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
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap'); | |
body { | |
font-family: 'Space Grotesk', sans-serif; | |
height: 100vh; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
div { | |
border: 1px solid #000000; | |
border-radius: 10px; | |
} | |
a { | |
display: inline-block; | |
font-size: 30px; | |
padding: 10px; | |
text-decoration: none; | |
color: #000000; | |
background: #CBFF40; | |
border-radius: 10px; | |
transition: all 200ms; | |
} | |
a:hover { | |
transform: translate(5px, -5px); | |
} |
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
<div> | |
<a href="#">Sign Up</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment