3 ms·
> This sounds suspiciously like abusing semantic attributes for display purposes. You don't need to be suspicious. The code is right there to evaluate at the b
by rendall 5y ago
> This sounds suspiciously like abusing semantic attributes for display purposes.
You don't need to be suspicious. The code is right there to evaluate at the bottom of [the demo](https://alvaromontoro.github.io/almond.css/demo/ https://alvaromontoro.github.io/almond.css/demo/). The circular progress widget shows this:
<div role="progressbar" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100" style="--value: 33"></div>
Is it semantic? No. But it's not an egregious sin, either. Definitely not "abuse". I wonder if `<progress>` can be styled into the circular widget instead of `<div>`? I assume not.
- dsego 5y agoMaybe with pseudo elements (::before,::after) and gradients?