mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 11:42:40 +00:00
Use mobile first flow for responsive hero image
This commit is contained in:
parent
a07aecc159
commit
76f590b5bb
@ -2,8 +2,8 @@
|
||||
|
||||
{% block heroImg %}
|
||||
<picture>
|
||||
<source srcset="/assets/cassettebeasts/images/cassettebeasts-header-640.png" media="(orientation: portrait)" />
|
||||
<img src="/assets/cassettebeasts/images/cassettebeasts-header-320.png" alt="Banner of Cassette Beasts Shrine" />
|
||||
<source srcset="/assets/cassettebeasts/images/cassettebeasts-header-320.png" media="(orientation: landscape)" />
|
||||
<img src="/assets/cassettebeasts/images/cassettebeasts-header-640.png" alt="Banner of Cassette Beasts Shrine" />
|
||||
</picture>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user