看板 Web_Design 關於我們 聯絡資訊
在弄 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
jmlntw: linear-gradient 目前不支援 transition 05/17 12:08
jmlntw: 另外漸層是屬於background-image (background是shorthand) 05/17 12:10