Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSS Pop-out button
@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);
}
<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