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

> 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.

Manipulation via JavaScript is also possible with @Loirooriol's suggested solution, but it is more cumbersome if you just want to rotate the background image.
Though adding a `transform()` function also has two big advantages. It can be used everywhere where images are allowed and you can apply more transformations than just rotations.

Sebastian

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

Received on Monday, 8 June 2020 22:00:44 UTC