teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

誤読

2018/06/13 23:08

投稿

think49
think49

スコア18194

answer CHANGED
@@ -1,3 +1,5 @@
1
+ **誤読で hgforteratail さんへのコメントになってしまいましたので、本回答は無視して下さい。**
2
+
1
3
  ### img要素の width, height 属性
2
4
 
3
5
  https://momdo.github.io/html/embedded-content-other.html#dimension-attributes

1

IE11 は picture 要素をサポートしていない

2018/06/13 23:08

投稿

think49
think49

スコア18194

answer CHANGED
@@ -21,6 +21,13 @@
21
21
  それはimg要素である必要がありますか。
22
22
  一つの画像で拡大すればボケボケになり、縮小すれば余計なトラフィックが発生します。
23
23
  私なら、picture要素、source要素を使う方向で考えます。
24
- https://www.html5rocks.com/ja/tutorials/responsive/picture-element/
25
24
 
25
+ - [レスポンシブイメージのネイティブサポート - HTML5 Rocks](https://www.html5rocks.com/ja/tutorials/responsive/picture-element/)
26
+
27
+ **(2018/06/14 08:05追記)**
28
+ miyabi_takatsuk さんより「IE11 は picture 要素をサポートしていない」という指摘を頂きました。確かに対応していませんでした。
29
+
30
+ - [Picture element - Can I use](https://caniuse.com/#feat=picture)
31
+ - [The status of <picture> Element - Microsoft Edge Development](https://developer.microsoft.com/en-us/microsoft-edge/platform/status/pictureelement/)
32
+
26
33
  Re: towatatsu12 さん