W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

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

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Jun 2020 22:00:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-640910265-1591653641-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC