Closed
Description
learn.jquery.com CSS includes many vendor prefixes for linear-gradient
but it misses the most important form: the prefixless one. An example:
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffea94), to(#FFEA5E));
background-image: -webkit-linear-gradient(top, #ffea94, #FFEA5E);
background-image: -moz-linear-gradient(top, #ffea94, #FFEA5E);
background-image: -ms-linear-gradient(top, #ffea94, #FFEA5E);
background-image: -o-linear-gradient(top, #ffea94, #FFEA5E);
from:
jquery-wp-content/themes/learn.jquery.com/style.css
Lines 56 to 60 in 28fe8bd
By the way, Opera doesn't need a prefix since 12.10 (the last Presto version, current version is 26), Firefox from 16 (current version is 34); IE has never needed a prefix (only IE10 previews required one). The older WebKit gradient form also doesn't seem to be needed; the newer one is needed for the Android Browser. We only really need two forms IMO:
background-image: -webkit-linear-gradient(top, #ffea94, #FFEA5E);
background-image: linear-gradient(to bottom, #ffea94, #FFEA5E);
Metadata
Metadata
Assignees
Labels
No labels