Skip to content

[css-backgrounds-4] Transformation of background images #2364

Closed
@xfq

Description

@xfq

Spec: https://drafts.csswg.org/css-backgrounds-4/

Currently, there is no way to rotate or skew the background image(s) of an element with CSS, so web developers can only transform the whole element. With this feature added (by adding a background-transform property, for example), backgrounds like [1] might only need one small image (instead of four different ones, or a large one) and thus save some bytes.

Tagging css-backgrounds-4 for now. Feel free to change it to css-transforms if it's more appropriate.

[1] https://codepen.io/chriscoyier/pen/jZBLrN


See also:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions