2017-08-22 7 views
0

私が得ようとしているのは、Firefoxでのみ起動し、ウィンドウが最大幅1352ピクセルに達するまでです。 私はFirefoxで特定の最大幅のC#mediaクエリ

@@-moz-document url-prefix() and media only screen and (max-width: 1352px) { 
    #timetable { 
     transform: scale(0.85) !important 
    } 

または

@@media only screen and (max-width: 1352px) and (moz-document: url-prefix()) { 
    #timetable { 
     transform: scale(0.85) !important 
    } 

などの異なるバージョンを試してみたが、残念ながら、両方が動作しません。

答えて

0

このコードは、それが実際にはありませんでしたが、メディア画面の順序を変更し、-moz-文書がしたいくつかの理由について

@-moz-document url-prefix() { 
@media screen and (max-width: 1352px) { 
    #timetable { 
    transform: scale(0.85) !important 
    } 
} 
} 
+0

に動作します。それにもかかわらず、私は解決策に直接私を指して以来、私はこれを受け入れます。ありがとう:) – Rustius

関連する問題