#css
Just realised I can use :has on the parent of a focus/hovered link.
Which is handy when there’s an absolutely positioned element that’s a child of a parent that has been translate(d), cos that transform screws up the z-index stacking order.
So one can fix with things like:
.parent:has(a:focus, a:hover) {
z-index: 1;
}