2015-10-07 60 views
0

我有一些CSSTidy打破我的字體面聲明的問題,並不確定問題是什麼。最初我是在壓縮服務器端,但也試圖通過online utility進行測試。他們都有相同的輸出,只包括第一個聲明。CSSTidy打破字體面

我還應該說,原始的CSS(輸入)工作正常,只是試圖壓縮它。

輸入:

@font-face { 
    font-family: 'FuturaBT-Light'; 
    src: url('26A674_0_0.eot'); 
    src: url('26A674_0_0.eot?#iefix') format('embedded-opentype'), 
     url('26A674_0_0.woff') format('woff'), 
     url('26A674_0_0.ttf') format('truetype'); 
    } 
@font-face { 
    font-family: 'FuturaBT-Book'; 
    src: url('26A674_1_0.eot'); 
    src: url('26A674_1_0.eot?#iefix') format('embedded-opentype'), 
     url('26A674_1_0.woff') format('woff'), 
     url('26A674_1_0.ttf') format('truetype'); 
    } 
@font-face { 
    font-family: 'FuturaBT-Medium'; 
    src: url('26A674_2_0.eot'); 
    src: url('26A674_2_0.eot?#iefix') format('embedded-opentype'), 
     url('26A674_2_0.woff') format('woff'), 
     url('26A674_2_0.ttf') format('truetype'); 
    } 
@font-face { 
    font-family: 'FuturaBT-Bold'; 
    src: url('26A674_3_0.eot'); 
    src: url('26A674_3_0.eot?#iefix') format('embedded-opentype'), 
     url('26A674_3_0.woff') format('woff'), 
     url('26A674_3_0.ttf') format('truetype'); 
    } 

OUTPUT:

@font-face 
{ 
    font-family:FuturaBT-Bold; 
    src:url(26A674_3_0.eot?#iefix) format(embedded-opentype), url(26A674_3_0.woff) format(woff), url(26A674_3_0.ttf) format(truetype); 
} 

回答