我有字体问题,它在IE 11中根本不起作用,而且chrome是字体锯齿状,看起来不漂亮。
编辑:字体现在可以在IE浏览器中运行,看起来非常完美,但在镀铬中仍然很薄且呈锯齿状
@font-face {
font-family: SourceSansProLight2;
src: url('http://static.tumblr.com/2e5jfgm/DG0n1p902/sourcesanspro-light.eot');
src:url('http://static.tumblr.com/2e5jfgm/DG0n1p902/sourcesanspro-light.eot?#iefix') format('embedded-opentype'),url('http://static.tumblr.com/2e5jfgm/MJpn1p93b/sourcesanspro-light.svg') format('svg'),url('http://static.tumblr.com/2e5jfgm/9jnn1p911/sourcesanspro-light.woff') format('woff'),url('http://static.tumblr.com/2e5jfgm/mnvn1p90s/sourcesanspro-light.ttf') format('truetype');
font-weight: normal;
}
#container {
font-family: SourceSansProLight2;
font-size: 12pt;
-webkit-font-smoothing: antialiased;
text-shadow: 0 1px 0 rgba(0,0,0,0.01);
}
这是jsfiddle:http://jsfiddle.net/7wC5H/4/