home.social

#purecss — Public Fediverse posts

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

  1. codepen.io/alsorew/pen/dPXWmed

    Hover or tap inside the blue line to discover the secret.

    (You can make the animation smoother, but it would require a lot more work. Nah.)

    #SteamDeck #SteamMachine #VoidLinux #CSS #PureCSS #CSSAnimation #CodePen

  2. Il #firmware per la 4 relays board controllata da un #ESP8266 è quasi pronto. Ho dedicato gli ultimi giorni a svariati fix del codice, qualche ottimizzazione e un rinfresco del layout grafico, basato su #purecss

    Se vi state chiedendo a cosa può servire, io lo uso per controllare le elettrovalvole del riscaldamento a pavimento via #homeassistant 😃

    #dyi #electronic #arduino

  3. @jcrabapple every time I see #PureCSS I get blown away, like how is it possible lol.

    It's like if someone said I made a house out of pure paint.

  4. Pure CSS meets voxel art! 🧊✨

    Agustin Capeletto takes us behind the scenes of the CSS Voxel Editor, showing how stacked grids, transforms, and perspective create a fully addressable 3D space—no JavaScript required.

    Read the article: tympanus.net/codrops/2025/03/0

    #3d #css #voxelart #purecss

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

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

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

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

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

  10. We can simplify things further to not even include a wave animation. Instead, the 3D surface is static in this case.

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

    Basically, we don't have
    z = f(x, y, t)
    but
    z = f(x, y)
    because the surface shape doesn't change in time anymore.

    #CSS #3D #pureCSS #noJS #Maths #geometry #Mathematics #code #coding #surface #frontend #function #web #webDevelopment #dev #webDev

  11. If that's laggy for you, check out this version codepen.io/thebabydino/pen/LYJ which just uses 1 element per square grid cell, instead of 1 element and its 2 pseudos, each creating one of the 2 triangles for that grid cell.

    This also doesn't use an SVG filter for corner rounding.

    #CSS #3D #pureCSS #noJS #Maths #geometry #Mathematics #code #coding #surface #frontend #function #web #webDevelopment #dev #webDev

  12. 7⃣ Pure CSS waving surface codepen.io/thebabydino/pen/rNZ

    Given a 3D function varying in time
    z = f(x, y, t)
    make a pure CSS 3D representation of it.

    Went through a lot of iterations, partly because support for some features wasn't always there, partly because I had ideas to improve.

    #CSS #3D #pureCSS #noJS #Maths #geometry #Mathematics #code #coding #surface #frontend #function #web #webDevelopment #dev #webDev

  13. 4⃣ Pure CSS sphere of randomly positioned, non-intersecting spheres codepen.io/thebabydino/pen/LYX

    Uses the spherical distribution tactic described here mastodon.social/@anatudor/1107 and then makes sure no two spheres intersect. Also: pure CSS 3D shading!

    #CSS #3D #pureCSS #css3d #transform #sphere #maths #geometry #3dGeometry #noJS #shading #code #coding #frontend #web #webDev #dev #webDevelopment

  14. 3⃣ Pure CSS morphing polyhedra: dodecahedron → rhombicosidodecahedron → snub dodecahedron → rhombicosidodecahedron → icosahedron codepen.io/thebabydino/pen/gOj

    Positions & makes faces morph using CSS transforms. Which depend on CSS vars to keep code compact css-tricks.com/logical-operati

    #CSS #3D #pureCSS #noJS #booleanLogic #cssVariables #transform #css3d #code #coding #frontend #web #dev #webDev #webDevelopment #polyhedra #maths #geometry #3dGeometry #mathematics #platonicSolids #Archimedean

  15. 3⃣ Pure CSS morphing polyhedra: dodecahedron → rhombicosidodecahedron → snub dodecahedron → rhombicosidodecahedron → icosahedron codepen.io/thebabydino/pen/gOj

    Positions & makes faces morph using CSS transforms. Which depend on CSS vars to keep code compact css-tricks.com/logical-operati

    #CSS #3D #pureCSS #noJS #booleanLogic #cssVariables #transform #css3d #code #coding #frontend #web #dev #webDev #webDevelopment #polyhedra #maths #geometry #3dGeometry #mathematics #platonicSolids #Archimedean

  16. 3⃣ Pure CSS morphing polyhedra: dodecahedron → rhombicosidodecahedron → snub dodecahedron → rhombicosidodecahedron → icosahedron codepen.io/thebabydino/pen/gOj

    Positions & makes faces morph using CSS transforms. Which depend on CSS vars to keep code compact css-tricks.com/logical-operati

    #CSS #3D #pureCSS #noJS #booleanLogic #cssVariables #transform #css3d #code #coding #frontend #web #dev #webDev #webDevelopment #polyhedra #maths #geometry #3dGeometry #mathematics #platonicSolids #Archimedean

  17. 3⃣ Pure CSS morphing polyhedra: dodecahedron → rhombicosidodecahedron → snub dodecahedron → rhombicosidodecahedron → icosahedron codepen.io/thebabydino/pen/gOj

    Positions & makes faces morph using CSS transforms. Which depend on CSS vars to keep code compact css-tricks.com/logical-operati

    #CSS #3D #pureCSS #noJS #booleanLogic #cssVariables #transform #css3d #code #coding #frontend #web #dev #webDev #webDevelopment #polyhedra #maths #geometry #3dGeometry #mathematics #platonicSolids #Archimedean

  18. If you're a patron on Patreon, then you may have seen the solution over a year ago. Here it is now public for everyone to see on @codepen: codepen.io/thebabydino/pen/rNq

    Also an entry for this week's #CodePenChallenge (scroll snapping).

    #scroll #scrollAnimation #scrollEffect #diagonal #angled #code #coding #pureCSS #CSS #frontend #CodePen #web #webDev #wbDevelopment #dev #cats #bigCat

  19. I retro-fitted animation-timeline to my old #purecss King of Hearts, to see how easy it would be... It was too easy! 🤩 Animation-timeline is amazing!! 🥳

    codepen.io/ivorjetski/pen/VwOr
    via
    @CodePen

    #css #cssart #cssartist #cssonly #frontend

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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