home.social

#clippath β€” Public Fediverse posts

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

  1. Because someone just hearted this demo I made over half a decade ago on @codepen:

    codepen.io/thebabydino/pen/bGE

    It's a pure #CSS Platonic solids gallery. They animate on hover/ tap. All is computed, there are no magic numbers.

    #Maths #3D #Geometry #trigonometry #clipPath #cssClipPath #code #frontend #web #dev #webDev #webDevelopment #coding #transform #cssTransform #css3D

  2. Because someone just hearted this demo I made over half a decade ago on @codepen:

    codepen.io/thebabydino/pen/bGE

    It's a pure #CSS Platonic solids gallery. They animate on hover/ tap. All is computed, there are no magic numbers.

    #Maths #3D #Geometry #trigonometry #clipPath #cssClipPath #code #frontend #web #dev #webDev #webDevelopment #coding #transform #cssTransform #css3D

  3. Because someone just hearted this demo I made over half a decade ago on @codepen:

    codepen.io/thebabydino/pen/bGE

    It's a pure #CSS Platonic solids gallery. They animate on hover/ tap. All is computed, there are no magic numbers.

    #Maths #3D #Geometry #trigonometry #clipPath #cssClipPath #code #frontend #web #dev #webDev #webDevelopment #coding #transform #cssTransform #css3D

  4. Because someone just hearted this demo I made over half a decade ago on @codepen:

    codepen.io/thebabydino/pen/bGE

    It's a pure #CSS Platonic solids gallery. They animate on hover/ tap. All is computed, there are no magic numbers.

    #Maths #3D #Geometry #trigonometry #clipPath #cssClipPath #code #frontend #web #dev #webDev #webDevelopment #coding #transform #cssTransform #css3D

  5. Because someone just hearted this demo I made over half a decade ago on @codepen:

    codepen.io/thebabydino/pen/bGE

    It's a pure #CSS Platonic solids gallery. They animate on hover/ tap. All is computed, there are no magic numbers.

    #Maths #3D #Geometry #trigonometry #clipPath #cssClipPath #code #frontend #web #dev #webDev #webDevelopment #coding #transform #cssTransform #css3D

  6. A little thing I made on @codepen.io: breathing with `shape()`
    codepen.io/thebabydino/pen/vEE

    `shape()` is supported in Chrome 135+ and Safari 18.4+.

    Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

    #CSS #clipPath #cssClipPath #animation #cssShapes #code #coding #clipping #web #dev #webDevelopment #webDev #frontend

  7. A little thing I made on @codepen.io: breathing with `shape()`
    codepen.io/thebabydino/pen/vEE

    `shape()` is supported in Chrome 135+ and Safari 18.4+.

    Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

    #CSS #clipPath #cssClipPath #animation #cssShapes #code #coding #clipping #web #dev #webDevelopment #webDev #frontend

  8. A little thing I made on @codepen.io: breathing with `shape()`
    codepen.io/thebabydino/pen/vEE

    `shape()` is supported in Chrome 135+ and Safari 18.4+.

    Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

    #CSS #clipPath #cssClipPath #animation #cssShapes #code #coding #clipping #web #dev #webDevelopment #webDev #frontend

  9. A little thing I made on @codepen.io: breathing with `shape()`
    codepen.io/thebabydino/pen/vEE

    `shape()` is supported in Chrome 135+ and Safari 18.4+.

    Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

    #CSS #clipPath #cssClipPath #animation #cssShapes #code #coding #clipping #web #dev #webDevelopment #webDev #frontend

  10. A little thing I made on @codepen.io: breathing with `shape()`
    codepen.io/thebabydino/pen/vEE

    `shape()` is supported in Chrome 135+ and Safari 18.4+.

    Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

    #CSS #clipPath #cssClipPath #animation #cssShapes #code #coding #clipping #web #dev #webDevelopment #webDev #frontend

  11. Someone asked how to create such cross-browser wave dividers that keep the same height as the width changes, so here's my take on it reddit.com/r/css/comments/1kcm

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

    `mask` is another option, but needs an extra container and container query units, so not as well supported, plus it wouldn't be exactly the same shape.

    #CSS #clipPath #cssClipPath #Sass #maths #cssMaths #code #coding #web #dev #webDevelopment #webDev #frontend

  12. Someone asked how to create such cross-browser wave dividers that keep the same height as the width changes, so here's my take on it reddit.com/r/css/comments/1kcm

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

    `mask` is another option, but needs an extra container and container query units, so not as well supported, plus it wouldn't be exactly the same shape.

    #CSS #clipPath #cssClipPath #Sass #maths #cssMaths #code #coding #web #dev #webDevelopment #webDev #frontend

  13. Someone asked how to create such cross-browser wave dividers that keep the same height as the width changes, so here's my take on it reddit.com/r/css/comments/1kcm

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

    `mask` is another option, but needs an extra container and container query units, so not as well supported, plus it wouldn't be exactly the same shape.

    #CSS #clipPath #cssClipPath #Sass #maths #cssMaths #code #coding #web #dev #webDevelopment #webDev #frontend

  14. Someone asked how to create such cross-browser wave dividers that keep the same height as the width changes, so here's my take on it reddit.com/r/css/comments/1kcm

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

    `mask` is another option, but needs an extra container and container query units, so not as well supported, plus it wouldn't be exactly the same shape.

    #CSS #clipPath #cssClipPath #Sass #maths #cssMaths #code #coding #web #dev #webDevelopment #webDev #frontend

  15. Someone asked how to create such cross-browser wave dividers that keep the same height as the width changes, so here's my take on it reddit.com/r/css/comments/1kcm

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

    `mask` is another option, but needs an extra container and container query units, so not as well supported, plus it wouldn't be exactly the same shape.

    #CSS #clipPath #cssClipPath #Sass #maths #cssMaths #code #coding #web #dev #webDevelopment #webDev #frontend

  16. #tinyCSStip `clip-path` or `mask` are applied after `filter`.

    This means we cannot clip/ mask, then add a `drop-shadow()` on the same element for the clipped/ masked shape.

    We need to apply the `filter` on a parent of the clipped/ masked (pseudo-)element.

    codepen.io/thebabydino/pen/BRR

    #CSS #filter #cssFilter #clipPath #clipping #cssClipPath #cssMask #coding #frontend #web #dev #webDev #webDevelopment #code

  17. I haven't had the time to do anything for this week's #CodePenChallenge yet, but here are some older card demos:

    From 5+ years ago: pure #CSS 1 element bevel cards! No SVG or images save for the cat, real (semi)transparency inside borders and all.

    See it on @codepen codepen.io/thebabydino/pen/ZEG

    #clipPath #cssClipPath #code #coding #web #dev #webDev #webDevelopment #frontend #cssPattern #cssPatterns #cssGradient

  18. I haven't had the time to do anything for this week's #CodePenChallenge yet, but here are some older card demos:

    From 5+ years ago: pure #CSS 1 element bevel cards! No SVG or images save for the cat, real (semi)transparency inside borders and all.

    See it on @codepen codepen.io/thebabydino/pen/ZEG

    #clipPath #cssClipPath #code #coding #web #dev #webDev #webDevelopment #frontend #cssPattern #cssPatterns #cssGradient

  19. I haven't had the time to do anything for this week's #CodePenChallenge yet, but here are some older card demos:

    From 5+ years ago: pure #CSS 1 element bevel cards! No SVG or images save for the cat, real (semi)transparency inside borders and all.

    See it on @codepen codepen.io/thebabydino/pen/ZEG

    #clipPath #cssClipPath #code #coding #web #dev #webDev #webDevelopment #frontend #cssPattern #cssPatterns #cssGradient

  20. I haven't had the time to do anything for this week's #CodePenChallenge yet, but here are some older card demos:

    From 5+ years ago: pure #CSS 1 element bevel cards! No SVG or images save for the cat, real (semi)transparency inside borders and all.

    See it on @codepen codepen.io/thebabydino/pen/ZEG

    #clipPath #cssClipPath #code #coding #web #dev #webDev #webDevelopment #frontend #cssPattern #cssPatterns #cssGradient

  21. I haven't had the time to do anything for this week's #CodePenChallenge yet, but here are some older card demos:

    From 5+ years ago: pure #CSS 1 element bevel cards! No SVG or images save for the cat, real (semi)transparency inside borders and all.

    See it on @codepen codepen.io/thebabydino/pen/ZEG

    #clipPath #cssClipPath #code #coding #web #dev #webDev #webDevelopment #frontend #cssPattern #cssPatterns #cssGradient

  22. Because I saw a @codepen demo creating a hex grid using my well over a decade old nested and reverted transforms technique to get the shape + MQs...

    Here's a super simple modern #CSS grid + clip-path + mathematical functions responsive version with no breakpoints codepen.io/thebabydino/pen/QwW

    #cssLayout #cssGrid #clipPath #hexagon #cssMaths #containerQueryUnits #code #cssVariables #coding #frontend #webDev #web #dev #webDevelopment

  23. Know how border-image & border-radius don't play nice together?

    (interactive codepen.io/thebabydino/pen/jxZ)

    #tinyCSStip there's a workaround IF corner radius ≀ border-width: use inset() clip-path + a round value!

    clip-path: inset(0 round $r)

    @codepen demo: codepen.io/thebabydino/pen/qBE

    (and yes, this is a tip I first shared on twitter over half a decade ago x.com/anatudor/status/12199161 )

    #CSS #clipPath #cssClipPath #coding #web #dev #webDev #webDevelopment #code #frontend #borderImage #borderRadius

  24. Another super old @codepen demo I redid with modern #CSS is this yummy menu codepen.io/thebabydino/pen/Aox

    CSS grid instead of absolute positioning, clip-path instead of nested skew and un-skew, CSS variables to avoid setting a separate transform chain on each item... and more!

    #gridLayout #cssGrid #clipPath #clipping #cssTransforms #cssVariables #coding #code #frontend #webDevelopment #web #dev #webDev