Man, the new :has pseudo-class sounds pretty great! Unfortunately browser coverage is poor. Still the ability to do a query based on the children in it, like
figure:has(figcaption) {
background: white;
padding: 0.6rem;
}
seems awesome
Somehow it reminds me of James while John had had had had had had had had had had had a better effect on the teacher....
No comments:
Post a Comment