Skip to content

Instantly share code, notes, and snippets.

@Ricardo-Diaz
Created October 23, 2012 18:56
Show Gist options
  • Save Ricardo-Diaz/3940811 to your computer and use it in GitHub Desktop.
Save Ricardo-Diaz/3940811 to your computer and use it in GitHub Desktop.
CSS: Bordered Link
//Bordered Link
//Link surround by a border box. nothing in the inside just the border.
.bordered-link {
display: inline-block;
padding: 8px;
border: 3px solid #FCB326;
border-radius: 6px;
box-shadow:
0 2px 1px rgba(0, 0, 0, 0.2),
inset 0 2px 1px rgba(0, 0, 0, 0.2);
/* Font styles */
text-decoration: none;
font-size: 14px;
text-transform: uppercase;
color: #222;
}
.bordered-link:hover { border-color: #FDD68B; }
.bordered-link:active { border-color: #FEE8BD; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment