We need a "Mad CSS Working Group" edition π
@css-only.dev
CSS stuff by Temani Afif (https://support.temani-afif.com) π‘ https://css-tip.com π§© https://css-shape.com π« https://css-loaders.com π https://css-articles.com βοΈ https://css-generators.com π§± https://css-pattern.com π¨ https://css-only.art
We need a "Mad CSS Working Group" edition π
codepen.io/beta
border-shape is going to be a lot of fun! π
Stay tuned ...
Amazing how we went from not being able to style selects, to doing things like this with them codepen.io/editor/cbols... (and this codepen.io/t_afif/pen/P...)
Here is a @codepen.io demo to compare the shape() implementation with the corner-shape one. Very close to each other.
codepen.io/t_afif/pen/K...
a CSS-only idea? π§
Here is a @codepen.io demo to compare the shape() implementation with the corner-shape one. Very close to each other.
codepen.io/t_afif/pen/K...
How many ways can you select <html> in CSS? @dxnny.fun says βchallenge acceptedβ building off an exercise @css-only.dev did a little while back.
css-tricks.com/the-differen...
css-tip.com/root-selecto...
It appears that I accidentally implemented the Squircle shape with my new generator! π
I extracted the code and added a variable to easily control the radius.
css-tip.com/squircle/
minimal demo: codepen.io/t_afif/pen/G...
Body and tooltip are inside the same containing block , body has relative and tooltip fixed so tooltip is laid out after so at the end the anchor is laid out before and it works.
If your anchor is having pos: absolute and is after the Tooltip, then it's dead ... The only solution in this case (a crazy one) is to make the tooltip have pos: fixed and body have pos: relative so you trap the anchor inside a containing block (body) and tooltip is outside of it.
Demo: codepen.io/t_afif/full/... via @codepen.io
To celebrate the new "border-shape" property being tested in @developer.chrome.com I made a nice little tool for helping you generate CSS shape functions.
Try it here:
ailab.nordcraft.site/pen-tool
Demo: codepen.io/t_afif/full/... via @codepen.io
Something to play with.
And it's live!
A new CSS generator for fancy frames (Squiggly, Ragged, Wavy, Torn, etc.). Powered by shape() and ready for border-shape as well!
css-generators.com/fancy-frame/
It's responsive and works with any elements, including images.
Play with the settings and show me your best frame π
And it's live!
A new CSS generator for fancy frames (Squiggly, Ragged, Wavy, Torn, etc.). Powered by shape() and ready for border-shape as well!
css-generators.com/fancy-frame/
It's responsive and works with any elements, including images.
Play with the settings and show me your best frame π
Now that's what I call a select demo.
Don't give me such ideas π
This is the kind of content Iβm here for π
I already predicted this gonna happen π
I listed/detailed all the tricky cases and why they happen (and how to fix them when possible) π
bsky.app/profile/css-...
It's a good time to read my four-part series. A lot of tricks and cool examples!
css-tricks.com/better-css-s...
this is hilarious.
You SAID we could style <select> now DAD.
give me randomness and I will give you different guns, different targets, different everything π€©
It seems we can now customize the select element, right? right?!
Demo: codepen.io/t_afif/pen/P... via @codepen.io
10 Cool Codepen Demos: February 2026
alvaromontoro.com/10-cool-code...
3D animations, particles with Three.js, shaders, color pickers, games, impressive graphs with CSS... and more!
#webdev #javascript #html #css #codepen
Another custom select list using using appearance: base-select.
On browsers that don't yet support this, a normal select list will be displayed.
See the full demo on @codepen.io codepen.io/cbolson/pen/...
At this point, all the shapes get crazy π
"jagged" is not bad but looking at the description it seems for spiky, sharp stuff while in my case, it's soft and wavy. Maybe "ragged" or 'torn" is better in this case.
Too many words I don't know π