:first-contiguous
& :last-contiguous
A demo of
postcss-first-contiguous
, a PostCSS plugin adding :first-contiguous()
and
:last-contiguous()
, fictional CSS pseudo-classes. Here, it
is used to add rounded corners only to the first and last messages in a
group without adding any extra classes, which looks pretty nice.
Source code on git.gay. I'm @h@besties.house on the Fediverse and @hazycora on Discord, if you've got any questions or comments :)