File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22Title : CSS Functions and Mixins Module
33Shortname : css-mixins
44Level : 1
5- Status : FPWD
6- Date : 2025-05-15
7- Prepare for TR : yes
5+ Status : ED
6+ Prepare for TR : no
87Work Status : Exploring
98Group : CSSWG
109ED : https://drafts.csswg.org/css-mixins/
@@ -1396,7 +1395,7 @@ but ''env()'' can be used in locations that don't have an element context.
13961395 an ''em'' value is passed to a mixin,
13971396 but the argument is then used in the ''@media'' rule inside the mixin.
13981397
1399- <pre highlight=css>
1398+ <xmp highlight=css>
14001399 @mixin --smaller(--size <length> : 800px, @contents) {
14011400 @media (width <= env(--size)) {
14021401 @contents;
@@ -1407,7 +1406,7 @@ but ''env()'' can be used in locations that don't have an element context.
14071406 margin: 1em 0;
14081407 }
14091408 }
1410- </pre >
1409+ </xmp >
14111410</div>
14121411
14131412When this situation occurs,
You can’t perform that action at this time.
0 commit comments