Markovtsev Vadim
Web Programming @ MIPT, 2015-2016
npm install optipng pngquant
npm install svgo
<picture>
<source media="(min-width: 40em)"
srcset="big.jpg 1x, big-hd.jpg 2x">
<source
srcset="small.jpg 1x, small-hd.jpg 2x">
<img src="fallback.jpg" alt="">
</picture>
<link media="screen and (device-aspect-ratio: 16/9) and
(width>600px) and (pointer) and (scripting)"
rel="stylesheet" href="example.css">
.no-print { display: none; }
.no-page-break { page-break-inside: avoid; }
.page-break { page-break-before: always; }
body {
-webkit-filter: grayscale(1);
filter: grayscale(1);
}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse metus neque, scelerisque quis odio nec, volutpat elementum lectus. Proin ut volutpat tellus. Aenean fermentum, felis et blandit congue, nibh mauris vehicula ante, dapibus vulputate ipsum velit vestibulum odio. Duis nec efficitur quam, nec congue orci. Curabitur eleifend massa orci, vel sagittis odio vulputate et. Proin dignissim faucibus purus at sodales. Duis ultrices nec lorem vitae pretium. Etiam nec euismod felis, non eleifend massa. Etiam scelerisque tincidunt nibh, nec auctor velit ornare nec. Etiam tincidunt, urna in luctus aliquam, quam dui elementum ex, quis pulvinar nisi velit vel leo. Cras pulvinar aliquet orci, in posuere velit finibus eget.
<i class="fa fa-university"></i>