Похожие чаты

What is the best way to pass value from html

to css? except using variable in inline-style and use that in css.
i want create a custom progress bar that i can pass width with html instead of creating css styles from 1% to 100%

2 ответов

14 просмотров
Mr-Thieves Автор вопроса

i found solution with js. if there is any with only css let me know about it. https://stackoverflow.com/questions/1720320/how-to-dynamically-create-css-class-in-javascript-and-apply

Variable in inline style is perfectly fine

Похожие вопросы

Карта сайта