Skip to content

Instantly share code, notes, and snippets.

@MnMTech
Last active August 29, 2015 14:22
Show Gist options
  • Save MnMTech/c75b584f3ce9a3e6eeb1 to your computer and use it in GitHub Desktop.
Save MnMTech/c75b584f3ce9a3e6eeb1 to your computer and use it in GitHub Desktop.
Custom Glyphicon CSS
.custom-glyphicon-class:before{
content:"";/*this is the content required for the link icon. Change to suit your own requirements*/
/*These are copied from the parent .glyphicon class*/
display:inline-block;
font-family: "Glyphicons Halflings";
font-style: normal;
font-weight: 400;
position: relative;
line-height: 1;
/*These rules can be adjusted to position and size your icon*/
font-size:12px;
top:3px;
left:0px;
margin-right:3px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment