2013-02-20 42 views
0

基本上,下面的代碼似乎並沒有附加到我的表TH的FirefoxWebKit的梯度不是附加在FF

.table th { 
    font-weight: bold; 
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0.03, #3A79C1), color-stop(0.99, #5F9EE6), color-stop(1, #75ABEA)); 
    color: #fff; 
    text-shadow: 1px 1px 1px #666; 
} 

文本陰影附加只是沒有背景

回答

0

你只是使用-webkit-gradient指令,但是爲了讓FF看到你的梯度,你還應該添加-moz-linear-gradient指令!

+0

關於怎麼樣的例子? – 2013-02-20 15:05:52

+0

@CurtisCrewe - 重寫顏色停止 - ColorZilla漸變編輯器(http://www.colorzilla.com/gradient-editor/)對於生成跨瀏覽器CSS3漸變非常有用 – Raad 2013-02-20 15:06:05

+0

我甚至都不知道,可以有人只是重新寫給我,所以我可以通過它瞭解它? – 2013-02-20 15:12:58