2015-06-24 33 views

回答

0

我猜這在其他瀏覽器中不起作用。如果你的意思是其他兩個被取消,那是因爲css引擎如何解析這些規則並且沒關係,firefox不支持-ms-webkit規則。

之所以不被你錯過了前綴的規則工作:

background-image: linear-gradient(center top , #818181 0px, white 105px); 

基於autoprefixer,你不需要-moz-ms規則,只有沒有前綴和-webkit

background-image: -webkit-linear-gradient(center top, #818181 0px, white 105px); 
background-image: linear-gradient(center top , #818181 0px, white 105px); 

另請注意,這是not supported in IE < 10