Skip to content

Commit bf5efba

Browse files
committed
[css-scoping-2][editorial] Fix incorrect example
1 parent 433ecba commit bf5efba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-scoping-2/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ Scoping Styles in CSS: the ''@scope'' rule</h3>
266266
The following selectors have the same specificity (1,0,1):
267267

268268
<pre class=lang-css>
269+
#hero img { border-radius: 50%; }
270+
269271
@scope (#hero) {
270-
/* When missing, the :scope ancestor is implied */
271272
img { border-radius: 50%; }
272-
:scope img { border-radius: 50%; }
273273
}
274274
</pre>
275275
</div>

0 commit comments

Comments
 (0)