fix counter.md
This commit is contained in:
36
index.html
36
index.html
@ -417,23 +417,23 @@
|
||||
<h3 id="counter"><span>Counter</span><span class="tags__tag snippet__tag" data-type="visual"><i data-feather="eye"></i>visual</span><span class="tags__tag snippet__tag" data-type="other"><i data-feather="tag"></i>other</span></h3>
|
||||
<p>Counters are, in essence, variables maintained by CSS whose values may be incremented by CSS rules to track how many times they're used.</p>
|
||||
<h4 data-type="HTML">HTML</h4><pre><code class="lang-html"><section class="countable-section">
|
||||
<div class="countable-item">
|
||||
<p>Some item</p>
|
||||
<div class="countable-section">
|
||||
<p>First sub item</p>
|
||||
<p>Second sub item</p>
|
||||
<p>Third sub item</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Second other item</p>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Third item</p>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Fourth item</p>
|
||||
<div class="countable-item">
|
||||
<p>Some item</p>
|
||||
<div class="countable-section">
|
||||
<p>First sub item</p>
|
||||
<p>Second sub item</p>
|
||||
<p>Third sub item</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Second other item</p>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Third item</p>
|
||||
</div>
|
||||
<div class="countable-item">
|
||||
<p>Fourth item</p>
|
||||
</div>
|
||||
</section>
|
||||
</code></pre>
|
||||
<h4 data-type="CSS">CSS</h4><pre><code class="lang-css">.countable-section {
|
||||
@ -506,13 +506,13 @@
|
||||
<h4>Browser support</h4>
|
||||
<div>
|
||||
<div class="snippet__browser-support">
|
||||
99+%
|
||||
98.4%
|
||||
</div>
|
||||
</div>
|
||||
<p><span class="snippet__support-note">✅ No caveats.</span></p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://caniuse.com/#search=counters" target="_blank">https://caniuse.com/#search=counters</a>
|
||||
<a href="https://caniuse.com/#feat=css-counters" target="_blank">https://caniuse.com/#feat=css-counters</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user