update custom-variables

This commit is contained in:
Stefan Feješ
2018-03-02 21:54:36 +01:00
parent fe456e72d7
commit dc3eb5e3fe
2 changed files with 7 additions and 11 deletions

View File

@ -338,18 +338,15 @@ in any specification.</span></p>
}
</style>
<h4 data-type="Explanation">Explanation</h4>
<!-- Use a step-by-step (ordered) list if possible. Keep it concise. -->
<p>Bla bla bla</p>
<p>Declare variable with <code>--variable-name:</code>.</p>
<p>Reuse declared variable throughout the document using the <code>var(--variable-name)</code> function.</p>
<h4 data-type="Browser support">Browser support</h4>
<div>
<div class="snippet__browser-support">
100%
</div>
</div>
<!-- Use the checkmark or the warning emoji, see the existing snippets. -->
<p><span class="snippet__support-note">✅ No caveats.</span></p>
<p><span class="snippet__support-note">⚠️ This is an experimental technology.</span></p>
<!-- Whenever possible, link a `caniuse` feature which allows the browser support percentage to be displayed.
If no link is provided, it defaults to 99+%. -->

View File

@ -44,14 +44,13 @@ CSS variables that contain specific values to be reused throughout a document.
#### Explanation
<!-- Use a step-by-step (ordered) list if possible. Keep it concise. -->
Bla bla bla
Declare variable with `--variable-name:`.
Reuse declared variable throughout the document using the `var(--variable-name)` function.
#### Browser support
<!-- Use the checkmark or the warning emoji, see the existing snippets. -->
<span class="snippet__support-note">✅ No caveats.</span>
<span class="snippet__support-note">⚠️ This is an experimental technology.</span>
<!-- Whenever possible, link a `caniuse` feature which allows the browser support percentage to be displayed.
If no link is provided, it defaults to 99+%. -->