回答編集履歴
2
修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
`col-sm-`という接頭辞を持つクラスを指定すると、
|
1
|
+
`col-sm-`という接頭辞を持つクラスを指定すると、768px以上の画面では横並び、それ未満では縦並び、というようになってしまうので、質問者さんの実現したい常に横並びを行うには`col-xs-`を指定します。
|
2
2
|
```HTML
|
3
3
|
<!Doctype html>
|
4
4
|
<html><!-- 追加 -->
|
1
修正
answer
CHANGED
@@ -6,12 +6,6 @@
|
|
6
6
|
<meta charset="utf-8"><!-- 追加 -->
|
7
7
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
8
8
|
<title>タイトル</title><!-- 追加 -->
|
9
|
-
<style type="text/css">
|
10
|
-
* {
|
11
|
-
margin: 0;
|
12
|
-
padding: 0;
|
13
|
-
}
|
14
|
-
</style>
|
15
9
|
</head>
|
16
10
|
<body>
|
17
11
|
<div class="wrapper">
|