Is there an “official”/standard CSS3 gradient syntax?
问题 I know there is -webkit-gradient and -moz-linear-gradient . But what is the standard way of defining a gradient? Like there is: -webkit-border-radius and -moz-border-radius and the standard is meant to be border-radius . 回答1: 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. 回答2: