home.social

#scrollanimation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #scrollanimation, aggregated by home.social.

  1. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you for helping me stay afloat during these times.

    And second, I just posted a cool little pure CSS 3D thing.

    Ko-fi: ko-fi.com/post/Pure-CSS-3D-par

    Patreon: patreon.com/posts/pure-css-3d-

    #CSS #scroll #3D #SVG #filter #css3d #svgFilter #scrollAnimation #code #web #dev #webDev #webDevelopment #frontend #coding

  2. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you for helping me stay afloat during these times.

    And second, I just posted a cool little pure CSS 3D thing.

    Ko-fi: ko-fi.com/post/Pure-CSS-3D-par

    Patreon: patreon.com/posts/pure-css-3d-

    #CSS #scroll #3D #SVG #filter #css3d #svgFilter #scrollAnimation #code #web #dev #webDev #webDevelopment #frontend #coding

  3. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you for helping me stay afloat during these times.

    And second, I just posted a cool little pure CSS 3D thing.

    Ko-fi: ko-fi.com/post/Pure-CSS-3D-par

    Patreon: patreon.com/posts/pure-css-3d-

    #CSS #scroll #3D #SVG #filter #css3d #svgFilter #scrollAnimation #code #web #dev #webDev #webDevelopment #frontend #coding

  4. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you for helping me stay afloat during these times.

    And second, I just posted a cool little pure CSS 3D thing.

    Ko-fi: ko-fi.com/post/Pure-CSS-3D-par

    Patreon: patreon.com/posts/pure-css-3d-

    #CSS #scroll #3D #SVG #filter #css3d #svgFilter #scrollAnimation #code #web #dev #webDev #webDevelopment #frontend #coding

  5. I made a little thing on @codepen :pure #CSS #scroll controlled swipe transition codepen.io/thebabydino/pen/azO

    Note how the swipe always clockwise, regardless of scroll direction and how the text fades in after the swipe in.

    Inspiration x.com/avanderpotte/status/1923
    (via @codrops motion highlights roundup)

    cc @bramus

    #scrollAnimation #code #coding #frontend #cssGradient #cssMask #conicGradient #cssMaths #maths #scrollEffect #cssGrid #web #dev #webDev #webDevelopment

  6. I made a little thing on @codepen :pure #CSS #scroll controlled swipe transition codepen.io/thebabydino/pen/azO

    Note how the swipe always clockwise, regardless of scroll direction and how the text fades in after the swipe in.

    Inspiration x.com/avanderpotte/status/1923
    (via @codrops motion highlights roundup)

    cc @bramus

    #scrollAnimation #code #coding #frontend #cssGradient #cssMask #conicGradient #cssMaths #maths #scrollEffect #cssGrid #web #dev #webDev #webDevelopment

  7. I made a little thing on @codepen :pure #CSS #scroll controlled swipe transition codepen.io/thebabydino/pen/azO

    Note how the swipe always clockwise, regardless of scroll direction and how the text fades in after the swipe in.

    Inspiration x.com/avanderpotte/status/1923
    (via @codrops motion highlights roundup)

    cc @bramus

    #scrollAnimation #code #coding #frontend #cssGradient #cssMask #conicGradient #cssMaths #maths #scrollEffect #cssGrid #web #dev #webDev #webDevelopment

  8. I made a little thing on @codepen :pure #CSS #scroll controlled swipe transition codepen.io/thebabydino/pen/azO

    Note how the swipe always clockwise, regardless of scroll direction and how the text fades in after the swipe in.

    Inspiration x.com/avanderpotte/status/1923
    (via @codrops motion highlights roundup)

    cc @bramus

    #scrollAnimation #code #coding #frontend #cssGradient #cssMask #conicGradient #cssMaths #maths #scrollEffect #cssGrid #web #dev #webDev #webDevelopment

  9. Haven't had it in me to do anything for the past week's #CodePenChallenge, so here's a demo from earlier this year that fits: #CSS infinite scroll gallery codepen.io/thebabydino/pen/XJr

    One of my most hearted demos ever & my only one to get over 1000 ❤️ without being in the most hearted of previous year.

    #SVG #cssGrid #scrollAnimation #filter #svgFilter #cssFilter #cssLayout #3D #cssTransforms #code #coding #frontend #web #dev #webDev #webDevelopment

  10. A fun little scroll-driven thing I made. The text is white over the image, but the image isn't static, it rotates on scroll. 😼

    Here's a detailed explanation of the how behind reddit.com/r/css/comments/1jyu

    Live on @codepen codepen.io/thebabydino/pen/dPP

    Also uses container queries, CSS trigonometric functions.

    #CSS #scroll #cssAnimation #code #web #scrollAnimation #frontend #coding #dev #cssVariables #cssTransform #webDev #webDevelopment #cssMaths #trigonometry

  11. Here's a neat little effect with no text duplication. Uses `background-clip: text` to create the split text face effect + scroll-driven animations to tie the gradient split line position to the 1st section's bottom edge.

    Live on @codepen codepen.io/thebabydino/pen/XJW

    cc @bramus

    #CSS #scroll #scrollAnimation #coding #cssAnimation #gradientText #frontend #web #dev #webDev #webDevelopment #code

  12. I made a thing: scroll-driven, almost pure #CSS infinite circular gallery rotation - check it out on @codepen
    codepen.io/thebabydino/pen/XJr

    Using scroll-driven animations and the tiniest bit of JS for the infinity part of it.

    Made with 🖤 for this week's #CodePenChallenge.

    cc @bramus

    #SVG #cssGrid #scrollAnimation #filter #svgFilter #cssFilter #cssLayout #3D #cssTransforms #code #coding #frontend #web #dev #webDev #webDevelopment

  13. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  14. Pure CSS on scroll reveal & parallax effects on @codepen
    codepen.io/thebabydino/pen/abg

    Pay attention to how images slide within their own element boxes 😼

    Saw a demo using JS for this parallax effect and... I seem to be on a mission to redo every scroll effect in pure CSS.

    cc @bramus

    #CSS #pureCSS #scroll #reveal #scrollAnimation #scrollEffect #code #coding #frontend #web #webDev #webDevelopment #dev

  15. My pure CSS entry for this week's #CodePenChallenge: scroll progress indicator that's a nav bar in disguise.

    Smooth scrolling, pure CSS scroll-driven animations, CSS variables and more, all in one @codepen demo codepen.io/thebabydino/full/gO

    See description for support info.

    #scroll #scrollAnimation #pureCSS #css #smoothScroll #code #coding #frontend #web #webDev #webDevelopment #dev

  16. And here's a pure CSS on scroll char by char text reveal that depends not on the full page scroll, but on the element coming into view!

    Live on @codepen codepen.io/thebabydino/pen/zYm

    No text duplication, no splitting text into individual characters.

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev

  17. We do that by setting `animation-timeline: scroll()`.

    We also remove the `animation-iteration-count`. We could also remove the `animation-duration`... except it doesn't work in Firefox without it for some reason.
    ¯\_(ツ)_/¯

    A Firefox bug is also why the `animation-fill-mode`.

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev #cssAnimation

  18. It *still* doesn't look right, so we change the end state background width from `100%` to `calc(var(--n)*1ch)`.

    We also add in a `background-color`. We now have our char by char text reveal!

    But this just runs infinitely on its own, so we still need to tie it to page scroll.

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev #cssAnimation

  19. Let's animate the `background-size` of this gradient (which we also make non-repeating) along the x axis.

    Then we clip this background to `text`.

    We make the animation go char by char by using `steps(var(--n))`, where n is the text length, set by an HTML preprocessor as `--n`.

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev #cssAnimation

  20. Adding a gradient! There's a difference between block and inline elements when it comes to horizontal gradients.

    Block element: gradient goes from left to right edge of the box.

    Inline element: gradient wraps/ progresses with the wrapping text.

    You may be seeing where this is going...

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev #cssAnimation

  21. We ensure there's always a scrollbar by making the body taller than the viewport.

    We give the text container `position: fixed` so it doesn't scroll with the page.

    Within this, we wrap the entire text in a `span` (in an `inline` element). This is important for the next step...

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev

  22. The how behind the demo!

    First, we need a monospaced font (each character needs to have the same width of `1ch`) where increasing the `font-weight` doesn't increase the horizontal space occupied by a letter.

    This is important because we'll be taking `1ch` steps for text reveal.

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev #typography

  23. Here's a pure CSS char by char text reveal on scroll!

    @codepen demo codepen.io/thebabydino/pen/MWP

    No splitting text into individual characters!

    Inspired by an old Toblerone Story page, except that used JS (reasonable for cross-browser support) and was splitting the text into individual characters (yikes! 😱)

    cc @bramus

    #CSS #pureCSS #noJS #scroll #scrollAnimation #text #textEffect #revealEffect #code #coding #frontend #webDev #web #webDevelopment #dev

  24. #tinyCSStip

    How varying the clip-path inset from the right element edge can help us with a left to right reveal effect:

    * when this inset is 100% (the entire element width), then everything (to the right of the left edge) gets cut off

    * when this inset is 0%, then nothing (everything right of right edge) gets cut off

    Interactive illustration + on scroll use case 👇

    #CSS #scroll #coding #frontend #webDev #webDevelopment #coolCSS #scrollAnimation #pureCSS #CSSvariables #CSSanimation