回答編集履歴

1

追加

2018/10/08 04:50

投稿

退会済みユーザー
test CHANGED
@@ -1,3 +1,27 @@
1
1
  えっとメディアクエリらしい記述が見つからないんですが...
2
2
 
3
3
  <meta name="viewport" content="width=device-width">←はビューポートです。
4
+
5
+
6
+
7
+ もし、スマホで文字を大きくしたいなら上でいいはずですが別のスタイルを指定したい場合は
8
+
9
+ ```HTML
10
+
11
+ <meta name="format-detection" content="telephone=no">
12
+
13
+ <link media="only screen and (max-device-width:480px)"
14
+
15
+ href="smart.css" type="text/css" rel="stylesheet" />
16
+
17
+ <link media="screen and (min-device-width:481px)" href="design.css"
18
+
19
+ type="text/css" rel="stylesheet" />
20
+
21
+ <!--[if IE]>
22
+
23
+ <link href="design.css" type="text/css" rel="stylesheet" />
24
+
25
+ <![endif]-->
26
+
27
+ ```