Ana Tudor 🐯 · @anatudor
589 followers · 323 posts · Server mastodon.social

Here's a blue textile pattern. It's pure , 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

#css #csspatterns #codepen

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
561 followers · 275 posts · Server mastodon.social

So here's a little : how would you 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

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

#csschallenge2022 #css #fd8 #csspatterns

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
561 followers · 272 posts · Server mastodon.social

Another little pure 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.

#css #csspatterns #codepen

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
543 followers · 254 posts · Server mastodon.social

Pure pattern on : 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.

#css #codepen #csspatterns

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
481 followers · 216 posts · Server mastodon.social

Pure pattern: 🥀

codepen.io/thebabydino/pen/zYa

Felt like making this one a bit more gradienty than the original shutterstock.com/image-vector/
(otherwise, the number of gradients could be reduced)

#css #codepen #csspatterns

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
461 followers · 186 posts · Server mastodon.social

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

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
458 followers · 185 posts · Server mastodon.social

(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/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

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
434 followers · 168 posts · Server mastodon.social

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

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
413 followers · 150 posts · Server mastodon.social
Ana Tudor 🐯 · @anatudor
413 followers · 149 posts · Server mastodon.social