grunt-stripmq
Version:
Create a desktop version of your mobile-first CSS
20 lines (15 loc) • 390 B
CSS
body {
background: url('mobile-background.png');
margin: 1000px;
}
/* Change the background for tablets */
body {
background: url('tablet-background.png');
margin: 120px;
}
/* Change the background again for desktop and increase the font-size */
body {
background: url('desktop-background.png');
font-size: 120%;
}
/* If it's a monochrome screen, show a black background */