mastodon

Using the :has() #pseudo-…

A murb'ed feed, posted 1 day ago filed in css, semantic & html.

Using the `:has()` #pseudo-class extensively in my own #css template. e.g.

```
section:has( section ) {
border-top: 1px solid #ccc
}
```

I love creating #semantic #html and just tuning the `<section>` that is a container of sub `<section>`s a bit reflects this semantic markup visually without a need to add classes.

Go to the original link.