You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/docs/v4-beta.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1117,9 +1117,9 @@ You know the `*` variant we shipped a while ago for targeting direct children?
1117
1117
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:
1118
1118
1119
1119
```html
1120
-
<divclass="**:img:rounded-full">
1120
+
<divclass="**:data-avatar:rounded-full">
1121
1121
<div>
1122
-
> <imgsrc="…" /> <!-- This element will be round -->
1122
+
> <imgsrc="…"data-avatar/> <!-- This element will be round -->
0 commit comments