Skip to content

Commit 248259e

Browse files
committed
WIP
1 parent eb7abe2 commit 248259e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/docs/v4-beta.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,9 @@ You know the `*` variant we shipped a while ago for targeting direct children?
11171117
In v4.0 we've added a new `**` variant for targeting all descendants — most useful in my opinion if you combine it with another variant for narrowing the thing you're selecting:
11181118

11191119
```html
1120-
<div class="**:img:rounded-full">
1120+
<div class="**:data-avatar:rounded-full">
11211121
<div>
1122-
> <img src="" /> <!-- This element will be round -->
1122+
> <img src="" data-avatar /> <!-- This element will be round -->
11231123
</div>
11241124
<p>…</p>
11251125
</div>

0 commit comments

Comments
 (0)