1 like
·
1.2K reads
2 comments
·Feb 11, 2024
Feb 11, 2024
As I understood you are trying to manage it via scss code. The method looks good, but I think it is easier to do in a post-build step by transforming bundled HTML and CSS files using PostCSS.
I have created a tool that can help with extracting media related rules into dedicated files. Have a look if you are interested )
github: levchak0910/css-media-splitter
·
·1 reply
Author
·Feb 11, 2024
Interesting ! thanks for sharing
1
·