Skip to content

Instantly share code, notes, and snippets.

@usimsek
Last active June 23, 2022 19:26
Show Gist options
  • Save usimsek/079033ddbfe134d58da087270a76cd32 to your computer and use it in GitHub Desktop.
Save usimsek/079033ddbfe134d58da087270a76cd32 to your computer and use it in GitHub Desktop.
dualingo button design css
<button class="button">
Click me
</button>
<style>
button {
all: unset;
display: inline-block;
padding: 20px;
color: white;
text-transform: uppercase;
font-family: sans-serif;
letter-spacing: 1.5px;
font-weight: bold;
cursor: pointer;
border-radius: 17px;
}
/* Important stuff below */
.button {
background-color: #58cc02;
box-shadow: 0 5px 0 #58a700;
}
.button:active {
box-shadow: none;
transform: translateY(5px);
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment