home.social

#csspatterns — Public Fediverse posts

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

  1. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  2. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  3. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  4. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  5. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

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

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

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

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

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

  11. Minimal pure #CSS textile patterns on @codepen codepen.io/thebabydino/full/OJ

    Absolutely no images other than CSS gradients and they are all tiny! All of them are under 500 bytes minified, some of them well under!

    #pattern #cssPattern #frontend #patterns #cssPatterns #cssGradient #coding #web #dev #webDev #webDevelopment #textile #code

  12. Minimal pure #CSS textile patterns on @codepen codepen.io/thebabydino/full/OJ

    Absolutely no images other than CSS gradients and they are all tiny! All of them are under 500 bytes minified, some of them well under!

    #pattern #cssPattern #frontend #patterns #cssPatterns #cssGradient #coding #web #dev #webDev #webDevelopment #textile #code

  13. Minimal pure #CSS textile patterns on @codepen codepen.io/thebabydino/full/OJ

    Absolutely no images other than CSS gradients and they are all tiny! All of them are under 500 bytes minified, some of them well under!

    #pattern #cssPattern #frontend #patterns #cssPatterns #cssGradient #coding #web #dev #webDev #webDevelopment #textile #code

  14. Minimal pure #CSS textile patterns on @codepen codepen.io/thebabydino/full/OJ

    Absolutely no images other than CSS gradients and they are all tiny! All of them are under 500 bytes minified, some of them well under!

    #pattern #cssPattern #frontend #patterns #cssPatterns #cssGradient #coding #web #dev #webDev #webDevelopment #textile #code

  15. Minimal pure #CSS textile patterns on @codepen codepen.io/thebabydino/full/OJ

    Absolutely no images other than CSS gradients and they are all tiny! All of them are under 500 bytes minified, some of them well under!

    #pattern #cssPattern #frontend #patterns #cssPatterns #cssGradient #coding #web #dev #webDev #webDevelopment #textile #code

  16. Here's a blue textile pattern. It's pure #CSS, using only background gradients on a single element (the root element in this case). No other images or tricks.

    Oh, and it's under 500 bytes minified!

    Can you guess how I did it before checking the code? Let me know!

    codepen.io/thebabydino/pen/bGK

    Oh, and if you want more textile patterns, check this out! codepen.io/thebabydino/full/OJ

    #cssPatterns #CodePen

  17. So here's a little #cssChallenge2022: how would you #css this pattern?

    ⚠️ 1 HTML element
    ❌ no pseudos
    ⚠️ pure CSS
    ❌ no JS
    ❌ no SVG
    ⚠️ no images in general save for CSS gradients
    ✨ acute (top) rhombus angle is 76°
    ✨ rhombus width is 5em
    ✨ light gold is #fd8

    PS - If you're a $5+ patron on Patreon, know I've already posted the solution there 👀 🤫

    #cssPatterns

  18. Another little pure #CSS pattern: rhombic 🔥 codepen.io/thebabydino/pen/mdK

    Minified compiled CSS is under 380 bytes. Can you figure out how before checking the code? 😊

    Palette:
    ed7b32 f19b36 966459 824739
    b65333 fadc9c f4bb3a d6552b
    Rhombi have a 60° acute angle and are 4em wide.

    #cssPatterns #CodePen

  19. Pure #css pattern on #CodePen: connectors codepen.io/thebabydino/pen/MWX

    Made with two grids of targets, one with black in the middle, the other one with white, offset by half a background-size.

    These targets touch diagonally, so their size within background box is computed as in the hand drawing.

    Beside these two layers, we also stack a conic-gradient one of twice the background-size of the other two and which creates a sort of chessboard. We blend all 3 of them using lighten.

    #cssPatterns

  20. And here's another little pure CSS pattern: codepen.io/thebabydino/pen/gOK

    This is a more straightforward one and I really wish I could figure out a way of doing it with fewer gradients...

    Inspiration: shutterstock.com/image-vector/

    For reference: background patterns, simplified by conic gradients css-tricks.com/background-patt

    #css #cssPatterns #CodePen

  21. (if you're a $5 patron on Patreon, you may have already seen this one + the thought process behind)

    🐝
    Little pure CSS pattern:
    codepen.io/thebabydino/pen/KKe

    Inspiration: shutterstock.com/image-vector/

    Can you guess how it was made before checking the code? Can you reduce the number of gradients? Let me know! 👇

    #css #CodePen #cssPatterns

  22. Here's another quick & fun pure CSS pattern: tablets (not in the sense you might first think of, but 💊)
    codepen.io/thebabydino/pen/yLE

    Inspiration shutterstock.com/image-vector/

    Can you guess how it was made before checking the code? Can you reduce the number of gradients? Let me know! 👇

    #css #CodePen #cssPatterns

  23. First coded this pattern when I started playing with masking - at the time, it involved using a masked pseudo.

    Now figured out how to do it with no pseudos! 🥳 codepen.io/thebabydino/pen/rNK

    Can you guess how it was made before checking the code? Can you reduce the number of gradients? Let me know! 👇

    #css #CodePen #cssPatterns

  24. 🐝
    Another little pure CSS pattern:
    codepen.io/thebabydino/pen/ZER

    Inspiration: shutterstock.com/image-vector/

    Can you guess how it was made before checking the code? Can you reduce the number of gradients? Let me know! 👇

    #css #CodePen #cssPatterns