简体   繁体   English

Chrome,Custom.css并非始终有效

[英]Chrome, Custom.css not always working

my Custom.css looks like this: 我的Custom.css看起来像这样:

@font-face { font-family: 'Roboto'; src: local('Arial'); }
@font-face { font-family: 'Ubuntu'; src: local('Arial'); }

in case of Ubuntu it works in case of Roboto it does not work 如果是Ubuntu,则可以使用;如果是Roboto,则不能使用

it may be specific to this site http://www.origo.hu/techbazis/20130908-belelat-a-mobilokba-az-amerikai-nemzetbiztonsag.html 它可能特定于此站点http://www.origo.hu/techbazis/20130908-belelat-a-mobilokba-az-amerikai-nemzetbiztonsag.html

near the bottom in comment section, the fonts does not change 在评论部分的底部附近,字体不会更改

it is becuse Roboto is downloaded with the site, and for some reason locally defined Custom.css file can not override it 因为Roboto是随站点一起下载的,由于某种原因,本地定义的Custom.css文件无法覆盖它

your have to block *.woff and *.ttf 您必须阻止* .woff和* .ttf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM