Answer the question
In order to leave comments, you need to log in
How to get the selectors of all classes from the style sheet?
Good afternoon. There is a huge style sheet. How can I get only selectors from this table, without the css rules themselves? Initially has SCSS syntax. I have not worked with PostCSS before, but maybe it will help in solving this problem?
Answer the question
In order to leave comments, you need to log in
Copy the code of the table and clean the attributes in the editor with regular expressions.
For example, we are looking for all the STYLE attributes and replacing them with emptiness.style="[^"]*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question