❓ A question for web developers ❓ If you do layout in CSS, what's missing? I'm especially interested in hearing about use cases that aren't yet solved by existing CSS layout features. #css #webdev
18 reposts24 likes
❓ A question for web developers ❓ If you do layout in CSS, what's missing? I'm especially interested in hearing about use cases that aren't yet solved by existing CSS layout features. #css #webdev
18 reposts24 likes
It's already available: developer.mozilla.org/en-US/docs/W...
The (still experimental) border-shape attribute can or rather might be used for that. It actually just effects the border and not the fill of the border. bsky.app/profile/g12n...
How did you extend the background of of the element to with the out facing arc? In my experiments only the border extends beyond the original object box. not the background.
You would be able to combine the border-shape with the inset function to set the desired effect. codepen.io/g12n/pen/ogY...
Some of it is possible frontendmasters.com/blog/count-a... - see the "highlighting items on a certain column/ row" use cases
Basically, something like this. Where the menu overflows, the excess content is reassigned to the popover slot. The light DOM doesn't change. codepen.io/dutchcelt/pe...
Faced some issues this past weekend getting text to dynamically scale to its parent container. Thankfully there are hacks and there is ongoing development on getting this standardized. kizu.dev/fit-to-width github.com/w3c/csswg-dr...