我在样式表中使用face-face
css,但唯一的问题是它在网站上大写所有“i”。谁能告诉我什么是错的。
@font-face {
font-family: "Arial Black";
src: url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.eot');
src: url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.eot?') format('opentype'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.woff') format('woff'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.ttf') format('truetype'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.svg#Arial Black') format('svg');
}
答案 0 :(得分:-1)
试试这个
@font-face {
font-family: "Arial Black";
src: url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.eot');
src: url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.eot?') format('opentype'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.woff') format('woff'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.ttf') format('truetype'),
url('/wp-content/themes/RatedRnB/fonts/ariblk-webfont.svg#Arial Black') format('svg');
text-transform:none;
font-style:normal;
}