質問編集履歴
1
失礼致しました。すべてのHTML,CSSを載せました。#sei,#meiのinputを横並びにしたいです。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,83 @@
|
|
6
6
|
|
7
7
|
```html
|
8
8
|
|
9
|
-
<
|
9
|
+
<!doctype html>
|
10
|
+
|
11
|
+
<html lang="ja">
|
12
|
+
|
13
|
+
<head>
|
14
|
+
|
15
|
+
<!-- Required meta tags -->
|
16
|
+
|
17
|
+
<meta charset="utf-8">
|
18
|
+
|
19
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<!-- Bootstrap CSS -->
|
24
|
+
|
25
|
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
|
26
|
+
|
27
|
+
<link rel="stylesheet" href="css/custom.css">
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
<!--webawesomeのスクリプト-->
|
32
|
+
|
33
|
+
<script src="https://kit.fontawesome.com/5136400a27.js" crossorigin="anonymous"></script>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
<!-- bootstrap-datepicker(カレンダー機能)を読み込む -->
|
38
|
+
|
39
|
+
<link rel="stylesheet" type="text/css" href="../bootstrap-datepicker-1.6.4-dist/css/bootstrap-datepicker.min.css">
|
40
|
+
|
41
|
+
<script type="text/javascript" src="../bootstrap-datepicker-1.9.0-dist/js/bootstrap-datepicker.min.js"></script>
|
42
|
+
|
43
|
+
<script type="text/javascript" src="../bootstrap-datepicker-1.9.0-dist/locales/bootstrap-datepicker.ja.min.js"></script>
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<title>ホームページリスト1</title>
|
48
|
+
|
49
|
+
</head>
|
50
|
+
|
51
|
+
<body>
|
52
|
+
|
53
|
+
<header>
|
54
|
+
|
55
|
+
<a href="#"><i class="fas fa-campground fa-2x"></i></a>
|
56
|
+
|
57
|
+
</header>
|
58
|
+
|
59
|
+
<div class="container">
|
60
|
+
|
61
|
+
<div class="row">
|
62
|
+
|
63
|
+
<div class="col-md-6 left-con">
|
64
|
+
|
65
|
+
<h3>魅力的な会社の情報をチェック!</h3>
|
66
|
+
|
67
|
+
<h2>
|
68
|
+
|
69
|
+
東京にある仮想の魅力的な会社に
|
70
|
+
|
71
|
+
オファーして月の売り上げを<span id="hyaku-color">100万円</span>達成しよう。
|
72
|
+
|
73
|
+
</h2>
|
74
|
+
|
75
|
+
<div id="left-con-p">
|
76
|
+
|
77
|
+
<a href="#">売上を劇的にアップする方法</a>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<div class="col-md-6">
|
84
|
+
|
85
|
+
<form class="right-form">
|
10
86
|
|
11
87
|
<div class="mb-3">
|
12
88
|
|
@@ -26,14 +102,194 @@
|
|
26
102
|
|
27
103
|
</div>
|
28
104
|
|
29
|
-
|
105
|
+
<div class="top-submit">
|
30
|
-
|
106
|
+
|
31
|
-
<button type="submit" class="btn btn-primary">売上アップ講座に申し込む</button>
|
107
|
+
<button type="submit" class="btn btn-primary top-submit-in">売上アップ講座に申し込む</button>
|
108
|
+
|
109
|
+
</div>
|
32
110
|
|
33
111
|
</form>
|
34
112
|
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
<!-- Optional JavaScript; choose one of the two! -->
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<!-- Option 1: Bootstrap Bundle with Popper -->
|
130
|
+
|
131
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
<!-- Option 2: Separate Popper and Bootstrap JS -->
|
136
|
+
|
137
|
+
<!--
|
138
|
+
|
139
|
+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
|
140
|
+
|
141
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
|
142
|
+
|
143
|
+
-->
|
144
|
+
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</body>
|
148
|
+
|
149
|
+
</html>
|
150
|
+
|
35
151
|
```
|
36
152
|
|
153
|
+
```CSS
|
154
|
+
|
155
|
+
body{
|
156
|
+
|
157
|
+
font-family: Circular, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
|
158
|
+
|
159
|
+
font-size: 20x;
|
160
|
+
|
161
|
+
line-height: 1.43;
|
162
|
+
|
163
|
+
color: #484848;
|
164
|
+
|
165
|
+
background-color: rgb(245, 238, 238);
|
166
|
+
|
167
|
+
margin: 0px;
|
168
|
+
|
169
|
+
/*fontをスムーズに表示させる*/
|
170
|
+
|
171
|
+
-webkit-font-smoothing: antialiased;
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
}
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
header{
|
180
|
+
|
181
|
+
padding-left:10px;
|
182
|
+
|
183
|
+
padding-top:20px;
|
184
|
+
|
185
|
+
}
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
header i {
|
190
|
+
|
191
|
+
color:#888;
|
192
|
+
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
.container h3{
|
198
|
+
|
199
|
+
font-size:22px;
|
200
|
+
|
201
|
+
/*太文字にする*/
|
202
|
+
|
203
|
+
font-weight: bold;
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
.container h2{
|
210
|
+
|
211
|
+
font-size:40px;
|
212
|
+
|
213
|
+
font-weight: bold;
|
214
|
+
|
215
|
+
margin: 30px 0;
|
216
|
+
|
217
|
+
}
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
#hyaku-color{
|
222
|
+
|
223
|
+
color: rgb(231, 89, 118);
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
.left-con{
|
230
|
+
|
231
|
+
padding-top:40px;
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
#left-con-p a{
|
238
|
+
|
239
|
+
color: #484848;
|
240
|
+
|
241
|
+
}
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
#sei{
|
246
|
+
|
247
|
+
width: 200px;
|
248
|
+
|
249
|
+
}
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
#mei{
|
254
|
+
|
255
|
+
width: 200px;
|
256
|
+
|
257
|
+
}
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
form.right-form{
|
262
|
+
|
263
|
+
background-color: white;
|
264
|
+
|
265
|
+
padding: 20px;
|
266
|
+
|
267
|
+
/*角を丸くする*/
|
268
|
+
|
269
|
+
border-radius: 20px;
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
.top-submit{
|
276
|
+
|
277
|
+
text-align: center;
|
278
|
+
|
279
|
+
}
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
.top-submit-in{
|
284
|
+
|
285
|
+
background-color: black;
|
286
|
+
|
287
|
+
color: white;
|
288
|
+
|
289
|
+
}
|
290
|
+
|
291
|
+
```
|
292
|
+
|
37
293
|
|
38
294
|
|
39
295
|
idがseiとmeiが横並びにするには、CSSでどうすればいいでしょうか?
|