Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Christopher Kirk-Nielsen
@chriskirknielsen@front-end.social  ·  activity timestamp yesterday

It has been `0` days since I wanted to rotate a background-image in #CSS without trickery. More specifically, I just want to set an angle on my gradient, this would be neat: `radial-gradient(200% %0% at 0 0 from 45deg, pink, navy)` and boom, you get an ellipse that's not flat but rotated. Is that a thing?

Seems like https://github.com/w3c/csswg-drafts/issues/6807 is the best path forward but it is a larger feature than just adding an angle to radial gradients, so it'd take time to roll out. Ah well, `::before` it is.

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login