KIRUPA 🍊
KIRUPA 🍊
HomeArchiveLeaderboardAbout
Sign in

CSS Custom Properties + JS Animations = πŸ”₯

KIRUPA 🍊
Jan 28, 2023

CSS Custom Properties kick the maintainability of our JS-based animations into the stratosphere! πŸš€

Read β†’
2 Comments
User's avatar
Peter Pae Paester Paez's avatar
Peter Pae Paester Paez
Jan 28, 2023

I LOVE css variables, but I wish we could write things like.....

```transform: translate3d(var(--horizontalPos)px, 0, 0);```

...and I wish we could animate them...bring on @property Firefox and Safari!!!! How long do we have to wait for Houdini?!?!

Like (2)
Reply (1)
Share
KIRUPA 🍊's avatar
KIRUPA 🍊
Jan 28, 2023

Yes! I remember the detailed convo we had about this on the forums. It would make animating gradients a breeze, among other things. I wonder if WebGL can help here.

Like
Reply
Share
KIRUPA 🍊

Thought provoking and educational content that lives at the intersection of design 🎨, development πŸ€–, and business πŸ’°.

  • About
  • Archive
  • Recommendations
  • Sitemap
Β© 2026 KIRUPA 🍊 Β· Privacy βˆ™ Terms βˆ™ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.