Jump to content

Font-face rendering problem in chrome and firefox


mrduc

Recommended Posts

I use font face:

@font-face {
    font-family:'FontAwesome';    
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), 
    url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), 
    url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), 
    url('../fonts/fontawesome-webfont.otf?v=4.0.3') format('opentype'), 
    url('../fonts/fontawesome-webfont.svg?v=4.0.3') format('svg');
    font-weight:400;
    font-style:normal;
}
#toTop:before {
font-family: FontAwesome;
color: #fff;
font-size: 20px;
line-height: 48px;
position: absolute;
font-weight: 400;
content: 'f077';
left: 15px;
}

But font face not working. why? 

Edited by mrduc (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...