Skip to content

Instantly share code, notes, and snippets.

@alexbaumgertner
Created November 18, 2015 20:43
Show Gist options
  • Save alexbaumgertner/9635961f4c7f855b3b45 to your computer and use it in GitHub Desktop.
Save alexbaumgertner/9635961f4c7f855b3b45 to your computer and use it in GitHub Desktop.
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "symbols-nerds";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment