回答編集履歴
2
修正
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
`col-sm-`という接頭辞を持つクラスを指定すると、
|
1
|
+
`col-sm-`という接頭辞を持つクラスを指定すると、768px以上の画面では横並び、それ未満では縦並び、というようになってしまうので、質問者さんの実現したい常に横並びを行うには`col-xs-`を指定します。
|
2
2
|
|
3
3
|
```HTML
|
4
4
|
|
1
修正
test
CHANGED
@@ -13,18 +13,6 @@
|
|
13
13
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
14
14
|
|
15
15
|
<title>タイトル</title><!-- 追加 -->
|
16
|
-
|
17
|
-
<style type="text/css">
|
18
|
-
|
19
|
-
* {
|
20
|
-
|
21
|
-
margin: 0;
|
22
|
-
|
23
|
-
padding: 0;
|
24
|
-
|
25
|
-
}
|
26
|
-
|
27
|
-
</style>
|
28
16
|
|
29
17
|
</head>
|
30
18
|
|