Ana Tudor 🐯 · @anatudor
681 followers · 419 posts · Server mastodon.social

How would you code this with the following constraints:

✅ pure CSS
⚠️ under 10 declarations
⚠️ 1 element
❌ no pseudos
❌ no JS
⚠️ no SVG, no images in general save for at most 2 CSS gradients

#csschallenge2022 #css

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
537 followers · 250 posts · Server mastodon.social

Bonus, this is also what helps solve a recent challenge (this one mastodon.social/@anatudor/1094): instead of a sharp gradient transition between transparent and grey, have a smooth one in order to progressively desaturate the top layer going from top (vibrant) to bottom (completely desaturated).

Live demos:

💫 codepen.io/thebabydino/pen/yLE

💫 codepen.io/thebabydino/full/xx

#css #tinycodingtips #codepen #blending #csschallenge2022

Last updated 2 years ago

Ana Tudor 🐯 · @anatudor
469 followers · 194 posts · Server mastodon.social

How would you pure CSS background like the ones below? Vibrant at the top, desaturated at the bottom?

Constraints:
⚠️ 1 element per background, no pseudos
❌ no JS
⚠️ no SVG, no images save for at most 2 CSS gradients

Hex for the first two:
🎨 54478c,2c699a,048ba8,0db39e,16db93,83e377,b9e769,efea5a,f1c453,f29e4c
🎨 001219,005f73,0a9396,94d2bd,e9d8a6,ee9b00,ca6702,bb3e03,ae2012,9b2226

#css #csschallenge2022

Last updated 2 years ago