So I saw a demo in the @codepen Spark and I liked the idea, but it was too JS-heavy for my taste, plus I would have preferred the rotation animations to be "hinged" around the top/ bottom edge depending on direction.

So I did it with pure #CSS on scroll https://codepen.io/thebabydino/pen/JoKqRjZ

cc @bramus

#cssScrollAnimation #scrollEffect #code #cssTransforms #cssTransform #css3D #3D #coding #frontend #cssLayout #web #dev #webDev #webDevelopment #cssGrid #cssFlex #flexbox #cssVariables #cssTransition

Someone hearted a Pen I made over a year ago, a no library, minimal JS version of another I found on @codepen.

At the time, it didn't work in Firefox as it was transitioning custom properties and support for :has() there was spotty.

Now it's cross-browser codepen.io/thebabydino/pen/gOqYdJd

#CSS #cssTransition #mask #cssMask #revealEffect #textEffects #textEffect #code #coding #frontend #webDevelopment #web #dev #webDev

#Development #Hacks
Beating ‘!important’ user agent styles (sort of) · How CSS transitions make the impossible possible https://ilo.im/15zqnb

_____
#UserAgent #Stylesheet #CssCascade #CssTransition #CssCalc #CssConstant #Browser #WebDev #Frontend #CSS

Noah Liebman | Beating `!important` user agent styles (sort of)

Preventing an `!important` user agent style from kicking in with a `transition` hack

Somehow forgot to post this @codepen demo https://codepen.io/thebabydino/pen/dyEVGrx, which fits both most recent #CodePenChallenge weeks.

It's a version of this demo by @bramus https://scroll-driven-animations.style/demos/cover-flow/css/, but relying on CSS 3D (transforms) instead of `z-index` for z-axis order.

#CSS #3d #transform #maths #cssTransition #scroll #scrollEffect #scrollAnimation #code #coding #frontend #cssVariables #web #webDev #dev #webDevelopment

Pure CSS scroll animation v2

https://scroll-driven-animations.style/demos/cover-flow/css/...

#Development #Guides
CSS Transition vs. CSS Animation · Similarities and differences of two animating techniques https://ilo.im/15aj5q

_____
#WebDev #Animation #Frontend #CSS #CssTransition #CssAnimation

CSS Transition vs Animation Handbook – How to Animate Elements in CSS

CSS transitions and animations provide smooth, gradual ways to change an element's style. But they work in different ways. Here are the main distinctions between them: CSS Transition CSS Animation * Creates smooth transitions from one CSS value to another. * You need triggers

freeCodeCamp.org