What is Nostr?
Mayank /
npub1m80…l5qh
2024-05-21 18:58:59

Mayank on Nostr: one of my favorite uses of #CSS `:has()` is to change the grid layout based on what's ...

one of my favorite uses of #CSS `:has()` is to change the grid layout based on what's inside the grid

```
grid-template-areas: /* simple layout */

&:has(.thing) {
grid-template-areas: /* more complex layout */;
}
```
Author Public Key
npub1m8066qm8m2jmhv6w2g7ynm83n5ahke8z22j0l09cuh58uv64ns4s9el5qh