showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
6 lines (4 loc) • 423 B
Markdown
<h2>Responsive images - art direction<span class="status approved">Approved</span></h2>
Art direction - cropping the image differently in different device resolutions. It is used when providing a smaller version of the image won’t work because text or other small elements will be unreadable (e.g. hero image).
Use `<picture>` tag.
Also see demo [here](https://scottjehl.github.io/picturefill/examples/demo-02.html)