I have something like this in my HTML document
<link href="<?= base_url('css/style.css') ?>" rel="stylesheet" media="(min-width: 1210px)"/>
<link href="<?= base_url('css/style-tablet.css') ?>" rel="stylesheet" media="(min-width: 740px) and (max-width: 1209px)"/>
So as you can see I have 2 css files with media in these link tags.
These 2 files are 80% the same, just with small changes that makes this layout 100% RWD.
But as I said 80% are the same. So this is redundant in size, in request count and processing needing/time.
I have already combined them into one, but I did it manually, I took my very long time, about an hour. Constantly checking what is different and manually writing in one bigger css media inside and things that are in tablet version that aren't in desktop version.
Maybe I could do this faster?
So my question is, is there a way to do this combining/merging somehow faster or automatically?