Last active
November 19, 2017 01:12
-
-
Save hideki-a/5cbb830dfd58fcd8c099dd60bae7aeb0 to your computer and use it in GitHub Desktop.
ブログ記事srcset設定例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 横 --> | |
<img src="/assets/20171119_pic_01.jpg" alt="写真:JIS X 8341-3:2016, WCAG 2.0, ISO/IEC 40500:2012 早見表" srcset="/assets/20171119_pic_01.jpg 720w, /assets/20171119_pic_01_1440w.jpg 1440w" sizes="(min-width: 740px) 720px, 100vw"> | |
<!-- 縦 --> | |
<img src="/assets/20161227_pic_01.jpg" alt="24日1回目のステージの光景" srcset="/assets/20161227_pic_01.jpg 480w, /assets/20161227_pic_01_750w.jpg 750w, /assets/20161227_pic_01_960w.jpg 960w" sizes="(min-width: 500px) 480px, 100vw"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment