Skip to content

Commit

Permalink
resolution switch on img
Browse files Browse the repository at this point in the history
  • Loading branch information
fbohz committed Jun 29, 2020
1 parent f8d56df commit 3074861
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Binary file removed museo-demo/img/nat-1-large.jpg
Binary file not shown.
Binary file modified museo-demo/img/nat-2-large.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed museo-demo/img/nat-3-large.jpg
Binary file not shown.
10 changes: 9 additions & 1 deletion museo-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,17 @@ <h3 class="heading-tertiary u-margin-bottom-small">Adventure is calling</h3>
</div>
<div class="col-1-of-2">
<div class="composition">

<img src="img/nat-1.jpg" alt="Photo1" class="composition___photo composition___photo--p1">
<img src="img/nat-2.jpg" alt="Photo2" class="composition___photo composition___photo--p2">

<img srcset="img/nat-2.jpg 300w, img/nat-2-large.jpg 1000w"
sizes="(max-width: 56.25em) 20vw, (max-width: 37.5em) 30vw, 300px"
alt="Photo2"
class="composition___photo composition___photo--p2"
src="img/nat-2.jpg">

<img src="img/nat-11.jpg" alt="Photo3" class="composition___photo composition___photo--p3">
<!-- <img src="img/nat-2.jpg" alt="Photo2" class="composition___photo composition___photo--p2"> -->
</div>
</div>
</div>
Expand Down

0 comments on commit 3074861

Please sign in to comment.