Skip to content

Commit

Permalink
chore(macros/CSSRef): add Containment guides (#10611)
Browse files Browse the repository at this point in the history
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
  • Loading branch information
estelle and caugner authored Feb 29, 2024
1 parent 6939552 commit c207fcc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kumascript/macros/CSSRef.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ const text = mdn.localStringMap({
'Content_breaks_in_Multicol': 'Content breaks in Multicol',
'Conditional_rules': 'Conditional rules',
'Using_feature_queries': 'Using feature queries',
'Containment' : 'Containment',
'Using_CSS_containment' : 'Using CSS containment',
'Container_queries' : 'CSS container queries',
'Container_size_and_style_queries' : 'Using container size and style queries',
'CSSOM_view': 'CSSOM view',
'Coordinate_systems': 'Coordinate systems',
'Flexbox': 'Flexbox',
Expand Down Expand Up @@ -1264,6 +1268,16 @@ async function buildPropertylist(pages, title) {
</ol>
</details>
</li>
<li class="toggle">
<details>
<summary><%=text['Containment']%></summary>
<ol>
<li><%-smartLink(`${cssURL}CSS_Containment/Using_CSS_containment`)%></li>
<li><%-smartLink(`${cssURL}CSS_Containment/Container_queries`)%></li>
<li><%-smartLink(`${cssURL}CSS_Containment/Container_size_and_style_queries`)%></li>
</ol>
</details>
</li>
<li class="toggle">
<details>
<summary><%=text['CSSOM_view']%></summary>
Expand Down

0 comments on commit c207fcc

Please sign in to comment.