usting <picture> tag
This commit is contained in:
parent
0fb2e2908e
commit
3bbd29bb8a
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@
|
|||
<div id="header" class="item image" data-width=#{dataWidth}>
|
||||
<div class="inner">
|
||||
<a href=@{ir}>
|
||||
<img sizes="(min-width: 40em) 80vw, 100vw" srcset="@{pr} 1x, @{ir} 2x" src=@{pr} title=#{mediumTitle medium}>
|
||||
<picture>
|
||||
<source srcset="@{pr}, @{ir} 2x" media="(min-width: 100px)">
|
||||
<img srcset="@{pr}, @{ir} 2x" src=@{pr} title=#{mediumTitle medium}>
|
||||
|
||||
<div id="header" class="item" data-width="400">
|
||||
<div class="inner">
|
||||
|
|
Loading…
Reference in a new issue