Answer the question
In order to leave comments, you need to log in
Are there options not to drag yourself the entire CSS + JavaScript framework, but to take only what you need (Material Design Light is interested)?
Good time, Colleagues.
I would like to make a website using the elements of https://getmdl.io/
But take them somehow in parts, that is, make up part of it myself, and take part from there - buttons, icons, badges, etc....
How is it most practical do?
There is, of course, an option to load the entire library and overlay it with your own styles: but I want to make CSS and JS files much lighter...
What options are there?
Answer the question
In order to leave comments, you need to log in
There is git , you install it, there are source codes for scss. use them
Here you can see how I did it: https://github.com/xmoonlight/xmoonlight.github.io
Whichever solution you choose, it might make more sense to use uncss (npm i uncss). Uncss removes unused html styles from css files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question