- From: Leandro RR via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Jun 2020 16:04:41 +0000
- To: public-css-archive@w3.org
in cases where we have backgrounds that we desire to rotate, we have to rotate the whole element through css transforms, but if we want add it to a <body> element, would be great if we could add a property: background-rotate so we can rotate the whole bg image easily like:
```html
<style>
body {
background-image: url(pattern.png);
background-repeat: repeat-y;
background-rotate: 180deg;
}
</style>
```
this will avoid have to rotate the element and instead we only rotate the background.
also, about the comment of @Loirooriol i think a new property is still valid for specific cases, where if any developer needs add the property with javascript.
--
GitHub Notification of comment by leandroruel
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3183#issuecomment-640722516 using your GitHub account
Received on Monday, 8 June 2020 16:04:43 UTC