CSS自定义字体可以在iPad的横向模式下使用,但不能在纵向模式下使用
我正在尝试为我的iPad站点使用自定义字体,它在横向模式下效果很好,但在纵向模式下效果不佳 我的HTML结构CSS自定义字体可以在iPad的横向模式下使用,但不能在纵向模式下使用,css,ipad,Css,Ipad,我正在尝试为我的iPad站点使用自定义字体,它在横向模式下效果很好,但在纵向模式下效果不佳 我的HTML结构 body #wrapper blahblah 景观风格-作品 @media only screen and (orientation:landscape){ @font-face { font-family: custom_helvetica; src: url('../includes/helvetican.ttf'); }
body
#wrapper
blahblah
景观风格-作品
@media only screen and (orientation:landscape){
@font-face {
font-family: custom_helvetica;
src: url('../includes/helvetican.ttf');
}
#wrapper {
width:/*768px;*/1024px;
font-family: custom_helvetica;
margin:auto;
}
肖像CSS-不显示表单
@media only screen and (orientation:portrait){
@font-face {
font-family: custom_helvetica;
src: url('../includes/helvetican.ttf');
}
#wrappper {
width:768px;
font-family: helvetica;
margin:auto;
}
选择器正确吗
包装*p*per maybe?您的字体系列仍然是
定制的_helvetica
,但在包装中使用的是helvetica
编辑:当然可以看看吉普斯通的答案