We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8f099 commit 97c2782Copy full SHA for 97c2782
1 file changed
css-contain-3/Overview.bs
@@ -305,19 +305,19 @@ Naming Query Containers: the 'container-name' property</h2>
305
<pre class=lang-css>
306
main {
307
container-type: size;
308
- container-name: layout;
+ container-name: page-layout;
309
}
310
311
- .grid-item {
+ .my-component {
312
container-type: inline-size;
313
- container-name: component;
+ container-name: component-library;
314
315
316
- @container layout (block-size > 12em) {
+ @container page-layout (block-size > 12em) {
317
.card { margin-block: 2em; }
318
319
320
- @container component (inline-size > 30em) {
+ @container component-library (inline-size > 30em) {
321
.card { margin-inline: 2em; }
322
323
</pre>
0 commit comments