Skip to content

[css-backgrounds] feature proposal: background-rotate #5182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
leandroruel opened this issue Jun 8, 2020 · 2 comments
Closed

[css-backgrounds] feature proposal: background-rotate #5182

leandroruel opened this issue Jun 8, 2020 · 2 comments

Comments

@leandroruel
Copy link

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:

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

@myakura
Copy link
Contributor

myakura commented Jun 8, 2020

@leandroruel hi~. I thought it'd be so great having such transform capability in backgrounds a few weeks ago.

one thing i'm afraid is it looks like a duplicate of #3183 . could you perhaps moving your comment over there?

@leandroruel
Copy link
Author

oh @myakura thanks, i tried search for any issue already opened for this but i was unable to find it, i will make my comment there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants