Skip to content

Commit

Permalink
fixed code-view
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselm Hannemann committed Nov 4, 2012
1 parent 6a8b99f commit d4a4745
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ This is necessary as the current user agents (browser) which will be around for
It would work for the srcset attribute and is proposed by WHATWG for usage on img element but won't work with multiple sources and different media-queries.

_Example:_

<img srcset="low.jpg 1x 200w, high.jpg 2x 400w">
<picture>
<source srcset="low.jpg 1x 200w, high.jpg 2x 400w" media="(max-width: 480px)">
source srcset="low.jpg 1x 200w, high.jpg 2x 400w" media="(max-width: 480px)">
<source srcset="monochrome.jpg 1x 200w, monochrome.jpg 2x 400w" media="monochrome">
</picture>

Expand Down

0 comments on commit d4a4745

Please sign in to comment.