Skip to content

Instantly share code, notes, and snippets.

@softwarespot
Created November 23, 2015 21:07
Show Gist options
  • Save softwarespot/58dda3b5ad19135e3a61 to your computer and use it in GitHub Desktop.
Save softwarespot/58dda3b5ad19135e3a61 to your computer and use it in GitHub Desktop.
Fancy button
.company-button {
color: #fff;
background: black;
display: inline-block;
padding: 5px 40px;
position: relative;
}
.company-button::after {
content: '';
display: block;
position: absolute;
right: 20px;
top: 7px;
-webkit-transition: right .1s ease-in;
transition: right .2s ease-in;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-left: 7px solid #fff;
}
.company-button:hover::after {
right: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment