P
P
perfiliy2021-02-15 10:11:43
css
perfiliy, 2021-02-15 10:11:43

Is it possible to automatically extract only the necessary fragments from the CSS framework file?

There is a certain CSS framework with a bunch of styles for all occasions inside. And on the site of this framework there is an example of a ready-made layout in an HTML file. Question: is it possible, using some plugins (or some other way, but not manually), to remove only those styles from the CSS file that are present in this sample HTML file in order to remove a bunch of extra code? Doing this manually is inconvenient, painfully long and you can miss / overlook something.
Thanks to all who responded.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Michael, 2021-02-15
@notiv-nt

purecss

P
posters, 2021-02-15
@posters

All popular css frameworks have sources for preprocessors. Work with them through a faucet like gulp, and your css file won't get too much.

P
perfiliy, 2021-02-15
@perfiliy

I will answer myself. Found an online service purifycss.online
Like, what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question