css设置字体
@font-face { font-family: 'OpenSans-ExtraBold' ; src: url('font/OpenSans-ExtraBold.eot'); /* IE9 Compat Modes */ src: url('font/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/OpenSans-ExtraBold.woff') format('woff'), /* Modern Browsers */ url('font/OpenSans-ExtraBold.ttf') format('truetype'), /* Safari, Android, iOS */ url('font/OpenSans-ExtraBold.svg#OpenSans-ExtraBold') format('svg'); /* Legacy iOS */ }
网站栏目:css设置字体
转载来于:http://scyanting.com/article/igdjph.html