[问题] linear-gradient 的问题.

楼主: tyf99 (呵呵)   2017-05-17 10:05:18
在弄 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 也一样)
这是遇到规范外的情况了吗?
作者: jmlntw (吉米林)   2017-05-17 12:08:00
linear-gradient 目前不支援 transition另外渐层是属于background-image (background是shorthand)

Links booklink

Contact Us: admin [ a t ] ucptt.com