@font-face
{ font-family: myFirstFont;
src: url('Sansation_Light.ttf') ,url('Sansation_Light.eot'); /* IE9 */
}
div{ font-family:myFirstFont;}
详情请点击W3C教程:http://www.runoob.com/try/try.php?filename=trycss3_font-face_rule
@font-face
{ font-family: myFirstFont;
src: url('Sansation_Light.ttf') ,url('Sansation_Light.eot'); /* IE9 */
}
div{ font-family:myFirstFont;}
详情请点击W3C教程:http://www.runoob.com/try/try.php?filename=trycss3_font-face_rule