Why Nostr? What is Njump?
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
npub1ftxguws0g7ujpv2h7tdcu7j0s64u9cq5p5hmqgez27043znrd4csuvyzsr