是否有“官方”/标准CSS3渐变语法? [英] Is there an “official”/standard CSS3 gradient syntax?

查看:99
本文介绍了是否有“官方”/标准CSS3渐变语法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有 -webkit-gradient -moz-linear-gradient 。但是,定义渐变的标准方法是什么?

I know there is -webkit-gradient and -moz-linear-gradient. But what is the standard way of defining a gradient?

像这样: -webkit-border-radius -moz-border-radius ,标准是 border-radius

推荐答案

2011年的更新, Mozilla语法现在是官方的, CSS3图片值和替换内容工作草案 Webkit已更新,以便也使用此语法,并且现在已经并入最新版本的Chrome和Safari。

An update for 2011, the Mozilla syntax is now the 'official' one, adopted by the CSS3 Image Values and Replaced Content Working Draft. Webkit has been updated to use this syntax too, and this has now been incorporated into the latest versions of Chrome and Safari.

这篇关于是否有“官方”/标准CSS3渐变语法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆