Skip to content

Instantly share code, notes, and snippets.

@bradpotter
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradpotter/8878343 to your computer and use it in GitHub Desktop.
Save bradpotter/8878343 to your computer and use it in GitHub Desktop.
/*
HTML
---------------------------------------------------------------------------------------------------- */
<div class="desktop"><a href="#"></a></div>
/*
CSS
---------------------------------------------------------------------------------------------------- */
.desktop a {
background-color: #111;
border-radius: 240px;
display: inline-block;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
margin: 40px;
padding: 40px;
text-align: center;
}
.desktop a:before {
color: #fff;
content: "\f472";
font-family: "dashicons";
font-size: 120px;
line-height: 1em;
text-align: center;
width: 1em;
}
.desktop a:hover {
background-color: #777;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment