Back to the index.
CSS3 Images and Replaced Content specification.
By far the most important part of Images and Replaced Content is gradients. Still, there are a few other interesting properties.
This is the desktop table. See also the mobile table.
Last major update on 21 November 2014.
If you want to study gradients, start with the Introduction to gradients.
The WebKit-based browsers still use prefixed middle syntax for gradients. That’s all noted as Alternative.
Method or property | Internet Explorer | Firefox | Safari | Chrome | Opera | Yandex | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 and lower | 8 | 9 | 10 | 11 | 33 Win | 33 Mac | 32 Linux | 7 | 38 Win | 38 Mac | 37 Linux | 26 Win | 26 Mac | 14.10 Win | 14.10 Mac | |
No | Yes | Yes | Yes | Yes | Yes | Yes | ||||||||||
No | Yes | Yes | Yes | Yes | Yes | Yes | ||||||||||
To rotate an image. | No | Yes | No | No | No | No | ||||||||||
To treat an image as if it is a background-image when it comes to fitting it in its box. | No | No | No | Yes | Yes | Yes | ||||||||||
To treat an image as if it is a background-image when it comes to positioning it in its box. | No | No | No | Yes | Yes | Yes | ||||||||||
Same syntax as background-position. |
The following properties are not supported in any browser.
This is the main gradient test. If a browser fails it, it gets a No and I don’t investigate it any further.
This is an example of a cross-browser linear gradient.
background: -webkit-linear-gradient(0deg,red 10%,yellow 30%,green 60%); background: linear-gradient(90deg,red 10%,yellow 30%,green 60%);
This is an example of a cross-browser radial gradient.
background: -webkit-radial-gradient(60% bottom,circle closest-corner,red 10%,yellow 30%,green 60%); background: radial-gradient(circle closest-corner at 60% bottom,red 10%,yellow 30%,green 60%);
Desktop browser test array 2.0.3; November 2014