Monday, 8 September 2014

Previous Interview Question Next Interview Question
Home

CSS3 font-face browser compatibility

CSS3 Give a excellent feature for including the external fonts

below is the given example for including the external fonts with browser backward compatibility  


@font-face { 
       font-family: 'WebcodehelperFont’; 
       src: url('webfont.eot'); /* IE9 Compat Modes */ 
       src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 
       url('webfont.woff') format('woff'), /* Modern Browsers */ 
       url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ 
       url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ 
}

font-family : "We can add any custom name in the font-family"

Previous Interview Question Next Interview Question
Home

1 comments :

  1. Thanks for providing this informative information…..
    You may also refer-
    http://www.s4techno.com/blog/category/html-css/

    ReplyDelete