We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3014e94 commit f4a669dCopy full SHA for f4a669d
css-layout-api/Overview.bs
@@ -142,6 +142,18 @@ The 'overflow' property applies to <a>layout API containers</a>. This is discuss
142
As the layout is entirely up to the author, properties which are used in other layout modes (e.g.
143
flex, block) may not apply. For example an author may not respect the 'margin' property on children.
144
145
+<div class="example">
146
+The HTML below shows an example of setting the ''display'' to a ''layout()'' function.
147
+
148
+<pre class="lang-html">
149
+<!DOCTYPE html>
150
+<style>
151
+.centering-layout { display: layout(centering); }
152
+</style>
153
+<div class="centering-layout"></div>
154
+</pre>
155
+</div>
156
157
Layout API Container Painting {#painting}
158
-----------------------------------------
159
0 commit comments