Re: [csswg-drafts] Add background-rotate property that we just have to rotate the background without affecting the text and only one layer (#3183)

#4706 was analogous, it proposed a `background-filter` property, but it was rejected in favor of `filter()`.

For consistency, maybe CSS Transforms should define a `transform()` or `rotate()` function that can be used anywhere an `<image>` is expected, rather than adding more `background-*` properties. Like

```css
background-image: transform(url(background.jpg), rotate(180deg));
```

This would allow to transform images not just for backgrounds but also for things like border images or maybe cursors.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3183#issuecomment-640577957 using your GitHub account

Received on Monday, 8 June 2020 12:40:47 UTC