2 ms·
If you look at the example on Github, it looks exactly the same as the GP with inline styles, except it uses data params. GP is saying that there is next to no
by Swizec 12y ago
If you look at the example on Github, it looks exactly the same as the GP with inline styles, except it uses data params.
GP is saying that there is next to no benefit to the approach proposed in this project compared to just using [the ugly and terrible] inline CSS.
<div class="bar-chart">
<ul class="container">
<li data-cp-size="99">99%</li>
<li data-cp-size="50">50%</li>
<li data-cp-size="30">30%</li>
<li data-cp-size="90">90%</li>
<li data-cp-size="10">10%</li>
<li data-cp-size="70">70%</li>
<li data-cp-size="30">30%</li>
<li data-cp-size="90">90%</li>
</ul>
</div>