How CSS ::before and ::after work: the content property, the difference between them, and practical examples like icons, custom bullets, overlays, tooltips and decorative shapes.
How CSS ::before and ::after work: the content property, the difference between them, and practical examples like icons, custom bullets, overlays, tooltips and decorative shapes.
Make organic blob shapes with pure CSS using the 8-value border-radius trick, plus an animated morphing blob and gradient blobs for backgrounds.
Make organic blob shapes with pure CSS using the 8-value border-radius trick, plus an animated morphing blob and gradient blobs for backgrounds.
Also the UI is all CSS (+ I guess SVG with these wonky shapes now) and I want wide browser support with good performance, so it's hard to do anything fun like shaders. :(
Although I *have* been dreaming of tracking UI element bounds and rendering the shapes behind them inside WebGL. Hmm….
Also the UI is all CSS (+ I guess SVG with these wonky shapes now) and I want wide browser support with good performance, so it's hard to do anything fun like shaders. :(
Although I *have* been dreaming of tracking UI element bounds and rendering the shapes behind them inside WebGL. Hmm….
#googie #retrofuturism #css
#css, #svg, #scroll-driven-animations
#corner-shape, #border-shape, #css-shapes
codepen.io/editor/Sensi...
#googie #retrofuturism #css
#css, #svg, #scroll-driven-animations
#corner-shape, #border-shape, #css-shapes
codepen.io/editor/Sensi...
So I made a tool to convert them into compatible shapes.
shapemorph.matthewmorete.com
It tries to pick the smoothest arrangement of points, but adjust the shape index to try other variations!
So I made a tool to convert them into compatible shapes.
shapemorph.matthewmorete.com
It tries to pick the smoothest arrangement of points, but adjust the shape index to try other variations!
developer.mozilla.org/en-US/docs/W...
developer.mozilla.org/en-US/docs/W...
I made a visual tool to draw curves easily.
You can manipulate paths directly on a canvas.
#CSS #WebDev #OpenSource
1/4
I made a visual tool to draw curves easily.
You can manipulate paths directly on a canvas.
#CSS #WebDev #OpenSource
1/4
github.com/w3c/csswg-dr...
cc @nomster.bsky.social
github.com/w3c/csswg-dr...
cc @nomster.bsky.social
Exciting day for #GSS
Go check it out! producthunt.com/products/gss...
And you can also check out the GSS demo of the ProductHunt logo!
🔗 tinyurl.com/GSS-PH-launch
Exciting day for #GSS
Go check it out! producthunt.com/products/gss...
And you can also check out the GSS demo of the ProductHunt logo!
🔗 tinyurl.com/GSS-PH-launch
Read it in English, Spanish, or French:
lionel-peramo.com/posts/css-sh...
How do you create your custom CSS masks today?
Share your workflow in the replies.
4/4
Read it in English, Spanish, or French:
lionel-peramo.com/posts/css-sh...
How do you create your custom CSS masks today?
Share your workflow in the replies.
4/4
1. Real-time canvas.
Drag anchor points with your mouse or keyboard.
Change units between pixels, percentages, and REM.
2. Code generator.
Copy ready-to-use CSS clip-path code.
Test transitions between shapes.
2/4
1. Real-time canvas.
Drag anchor points with your mouse or keyboard.
Change units between pixels, percentages, and REM.
2. Code generator.
Copy ready-to-use CSS clip-path code.
Test transitions between shapes.
2/4
github.com/veripublica/epubveri/releases/tag/v0.21.0
#EPUB #ebooks #epubcheck #Rust #OpenSource #WebAssembly
github.com/veripublica/epubveri/releases/tag/v0.21.0
#EPUB #ebooks #epubcheck #Rust #OpenSource #WebAssembly
www.craigabbott.co.uk/blog/2026/ou...
www.craigabbott.co.uk/blog/2026/ou...
Playing with shapes, movement, and animation is one of my favorite ways to experiment with CSS and learn new tricks. 💻
Playing with shapes, movement, and animation is one of my favorite ways to experiment with CSS and learn new tricks. 💻
pyxo.me/686978 #pyxofy #cssart #codenewbie
pyxo.me/686978 #pyxofy #cssart #codenewbie
pyxo.me/686978 #pyxofy #cssart #codenewbie
pyxo.me/686978 #pyxofy #cssart #codenewbie
- Draw grids, backgrounds, and icons
- Generate random colors and shapes
- Preview or export images and video
- Draw grids, backgrounds, and icons
- Generate random colors and shapes
- Preview or export images and video
Creating CSS Shapes is one of my favorite tasks, and now I can do something even better: Random CSS Shapes!
Let's start with Blobs.
css-tip.com/random-blob/
You never see the same shape twice. A unique shape for a unique experience! 👀
Creating CSS Shapes is one of my favorite tasks, and now I can do something even better: Random CSS Shapes!
Let's start with Blobs.
css-tip.com/random-blob/
You never see the same shape twice. A unique shape for a unique experience! 👀
youtu.be/aI4rqV2b7BY
That's clipped from one of my past workshops, but I have another one coming up soon. Let's talk about writing maintainable #CSS!
smashingconf.com/online-works...
youtu.be/aI4rqV2b7BY
That's clipped from one of my past workshops, but I have another one coming up soon. Let's talk about writing maintainable #CSS!
smashingconf.com/online-works...
border-shape + border-area = The perfect combo 🪄
3 lines of code to create border-only shapes with gradient coloration. Absolutely any shapes, even the most complex ones! 👀
css-tip.com/gradient-sha...
Save the code for the future (a near future!)
border-shape + border-area = The perfect combo 🪄
3 lines of code to create border-only shapes with gradient coloration. Absolutely any shapes, even the most complex ones! 👀
css-tip.com/gradient-sha...
Save the code for the future (a near future!)
Answer here: github.com/web-platform...
Answer here: github.com/web-platform...
#css #html #programming #webdev #javascript #code #blog #article #rss #blogging
#css #html #programming #webdev #javascript #code #blog #article #rss #blogging