Back to the index.
The backgrounds and borders.
This is the mobile table. See also the desktop table.
Last major update on 5 July 2016.
I'm writing a CSS book.
| The background image does not scroll; the element serves as a “window” on the background image. | Static | No-scroll | No | No | Sta |
No | No | No-scroll | No | Sta |
Bug |
Sta |
Bug |
Yes | |||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
|
The background image scrolls with the element (and not the document).
External test that disagrees with mine |
Incom |
No | No | buggy | No | buggy | No | Incom |
No | Untest |
Yes | ||||||||||||||||||||||||
-webkit-overflow-scrolling: touch.
|
|||||||||||||||||||||||||||||||||||
| States whether the background covers the border-box (default), padding-box or content-box. | Yes | Yes | Yes | Yes | Yes | ||||||||||||||||||||||||||||||
| The background shines through the text, if it’s transparent, and only through the text. | Yes | No | Yes | Yes | Yes | Bug |
No | Yes | No | ||||||||||||||||||||||||||
| Yes | Yes | Yes | Yes | Yes | |||||||||||||||||||||||||||||||
| Yes | Yes | Yes | Yes | Yes | |||||||||||||||||||||||||||||||
| States whether the background originates in the border-box, padding-box (default) or content-box. | Yes | Yes | Yes | Yes | Yes | Bug |
Yes | ||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
| States how the background image is positioned. | Yes | Al |
Yes | Yes | Yes | Yes | Al |
Yes | |||||||||||||||||||||||||||
right 20px bottom 10px.
|
|||||||||||||||||||||||||||||||||||
| States how the background image is positioned in the x or y direction. | Yes | Yes | Yes | Yes | Yes | No | Yes | No | |||||||||||||||||||||||||||
States how the background is repeated. Note the new values space and
round.
|
Yes | Incom |
IC | Yes | IC | Yes | Incom |
Yes | IC | ||||||||||||||||||||||||||
space and round as no-repeat. |
|||||||||||||||||||||||||||||||||||
| States the size of the background image, in pixels, percents, or with two special values. | Yes | Yes | Yes | Yes | Yes | Bug |
Yes | ||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
| Yes | Yes | Yes | Yes | Yes | No | Yes | |||||||||||||||||||||||||||
| -webkit- | No | -webkit- | -webkit- | No | -wk- | Yes | No | Yes | |||||||||||||||||||||||||
|
Only Firefox supports it on elements in columns.
|
|||||||||||||||||||||||||||||||||
| Yes | Yes | Yes | Yes | Yes | No | Yes | |||||||||||||||||||||||||||