2026-04-29 05:51 UTC
@hejchristian@front-end.social that's never set is 100% of the padding-box size along both axes.
In this case, that's exactly equal to the cell size since the thick border (which we make transparent since it's there just to reserve space) is offset by a negative margin of the same size $s.
By default, a background repeats in the border area as well, so the "extending lines" are repetitions of the conic-gradient() background.
background-position (minus half line thickness) is for line alignment with the cell.
Replies (1)
-
@hejchristian@front-end.social 2026-04-29 09:37
@anatudor@mastodon.social Amazing - thanks for taking the time to explain it further and linking that article, I've only had time to skim to briefly but I can tell it's going to be _very_ helpful in getting a better understanding of conic-gradients and making patterns with them. Looking forward to read it over the weekend! Thank you ☺️