Answer the question
In order to leave comments, you need to log in
How to convert html to css?
Interested in a toolkit that builds a style sheet based on the existing DOM tree.
Ideally, it would be great to find a converter that converts html to scss or the like.
In search of a subject, two solutions were found:
https://github.com/dannygarcia/html-to-scss
But here you can’t do without node.js, and you don’t really want to install it for the sake of one feature.
I also found a screencast where a dude in broken English shows what I need with the help of a textmate bundle:
http://www.screenr.com/TZ0
Do you know how to solve the problem?
Answer the question
In order to leave comments, you need to log in
As an experienced front-end developer, I tell you, this is completely unnecessary and no one does it that way. What depresses you that you have to write class names 2 times, once in html, the second time in css? This is not bad at all when there is an intensive workflow, such seemingly delays are only a plus, while you write the name of the class, transfer it to css (ctrl + c, ctrl + v), you think about this class, its contents. Very often at this point you decide to change something, rename the class or remove it altogether. That's where the development flexibility is. And what you want is simply not convenient.
It's scary to even ask, but why do you need it?
You are not going to hang styles separately for each element that is in the DOM tree just because they are there?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question