Useful CSSgrass
This page is a personal draft to self.CSS container queries - CSS | MDNContainer queries enable you to apply styles to an element based on certain attributes of its container:

https://github.com/vyfor/rattles
newly supported in 18.4
https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape/shape
p {
--half-leading: calc((1lh - 1em) / 2);
text-box-trim: trim-both;
}
:is(pre, figure) {
& + & {
...
}
}
