[問題] linear-gradient 的問題.

看板Web_Design作者 (呵呵)時間7年前 (2017/05/17 10:05), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/1
在弄 transition 時碰到的 https://jsfiddle.net/q4zyu33f/ 一般瀏覽器能正常顯示,主要是 CSS3 驗證不過 說 background-color 裡面沒有 linear-gradient 這一項 tr:hover Value Error : background-color linear-gradient(#ddf,#cce) is not a background-color value 若改成 background: linear-gradient() 的話,CSS3 驗證就會過 但這時 transition 就沒用了 (就算改 transition: all 也一樣) 這是遇到規範外的情況了嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.47.184.67 ※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1494986722.A.058.html

05/17 12:08, , 1F
linear-gradient 目前不支援 transition
05/17 12:08, 1F

05/17 12:10, , 2F
另外漸層是屬於background-image (background是shorthand)
05/17 12:10, 2F
文章代碼(AID): #1P6w_Y1O (Web_Design)