Sunday, 15 June 2014

CSS image content: '\f035'; -


I was just looking through the source of the page of github.com and I wanted to add them to the clipboard button icon Code was used

 . Octicon-clippy: First {content: '\ f035'; }  

How can it make an icon without the path of the image?

I'm not sure that you are familiar with font-awesome, but also make symbols to create Unicode Uses letters. .

After saving the font-awesome stylesheets etc. In your project you can insert an image icon in simple form:

  & lt; I class = "fa fa-camera-retro" & gt; & Lt; / I & gt; You mentioned a clipboard icon, well, how easy it would be with the font:     


No comments:

Post a Comment