Skip to content

Instantly share code, notes, and snippets.

@tkosuga
Created May 15, 2013 15:44
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 tkosuga/5584957 to your computer and use it in GitHub Desktop.
Save tkosuga/5584957 to your computer and use it in GitHub Desktop.
font awesomeの導入
@font-face {
font-family: 'FontAwesome';
src: url('/font/fontawesome-webfont.eot?v=3.0.1');
src: url('/font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
url('/font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
url('/font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
font-weight: normal;
font-style: normal;
}
/* Font Awesome styles
------------------------------------------------------- */
[class^="icon-"],
[class*=" icon-"] {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
-webkit-font-smoothing: antialiased;
/* sprites.less reset */
display: inline;
width: auto;
height: auto;
line-height: normal;
vertical-align: baseline;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
margin-top: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment