Elektrine lite

← Feed

@smfr@mastodon.social

Post #2531947

2025-02-24 03:35 UTC

Playing around with a corner-shape implementation for WebKit. Some of the path math is quite involved!

Replies (2)

  • @AmeliaBR@front-end.social 2025-02-24 04:29

    @smfr@mastodon.social Ah, so neat that this is happening. (Although I personally would be holding out for custom shapes, something like stroked clip-paths. But getting these shapes to work is a good test run for that!) Things are going to get a little complicated with those notch/scoop corners if they get big enough to bump into each other. And then there's how to deal with borders of different widths meet in a shaped corner. (Although I guess the existing round corner is probably as complicated as it gets.)

    Open ##3216968

  • @karlcow@mastodon.cloud 2025-02-24 08:39

    @smfr@mastodon.social I'm curious to see what it gives with double, groove, etc. :) collapse and non collapsed on `display: table-cell`.

    Open ##3216978