質問編集履歴

3

imgの追加

2021/09/29 10:38

投稿

kouhei_727
kouhei_727

スコア6

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- ### 前提・実現したいこと
1
+ ![イメージ説明](aa849fe3b63fa4d0753651807112320d.png)### 前提・実現したいこと
2
2
 
3
3
 
4
4
 

2

コードの再修正

2021/09/29 10:38

投稿

kouhei_727
kouhei_727

スコア6

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,35 @@
24
24
 
25
25
  ```html
26
26
 
27
- <header>
27
+ <!doctype html>
28
+
29
+ <html lang="ja">
30
+
31
+ <head>
32
+
33
+ <!-- Required meta tags -->
34
+
35
+ <meta charset="utf-8">
36
+
37
+ <meta name="viewport" content="width=device-width, initial-scale=1">
38
+
39
+
40
+
41
+ <!-- Bootstrap CSS -->
42
+
43
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
44
+
45
+
46
+
47
+ <title>Hello, world!</title>
48
+
49
+ </head>
50
+
51
+
52
+
53
+ <body class="bg-light">
54
+
55
+ <header>
28
56
 
29
57
  <nav class="navbar navbar-expand-lg navbar-light bg-dark">
30
58
 
@@ -102,17 +130,175 @@
102
130
 
103
131
 
104
132
 
105
-
133
+ <!-- スライドショー -->
134
+
106
-
135
+ <div class="keyvisual">
136
+
107
-
137
+ <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
138
+
108
-
139
+ <div class="carousel-indicators">
140
+
141
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
142
+
143
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
144
+
145
+ <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
146
+
147
+ </div>
148
+
149
+ <div class="carousel-inner">
150
+
151
+ <div class="carousel-item active">
152
+
153
+ <img src="images/img1.jpeg" class="d-block w-100" alt="...">
154
+
155
+ <div class="carousel-caption d-none d-md-block">
156
+
157
+ <h5>HTML/CSS</h5>
158
+
159
+ </div>
160
+
161
+
162
+
163
+ </div>
164
+
165
+ <div class="carousel-item">
166
+
167
+ <img src="images/img2.jpeg" class="d-block w-100" alt="...">
168
+
169
+ <div class="carousel-caption d-none d-md-block">
170
+
171
+ <h5>Bootstrap</h5>
172
+
173
+ </div>
174
+
175
+
176
+
177
+ </div>
178
+
179
+ <div class="carousel-item">
180
+
181
+ <img src="images/img3.jpeg" class="d-block w-100" alt="...">
182
+
183
+ <div class="carousel-caption d-none d-md-block">
184
+
185
+ <h5>Programing</h5>
186
+
187
+ </div>
188
+
189
+
190
+
191
+ </div>
192
+
193
+ </div>
194
+
195
+ <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
196
+
197
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
198
+
199
+ <span class="visually-hidden">Previous</span>
200
+
201
+ </button>
202
+
203
+ <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
204
+
205
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
206
+
207
+ <span class="visually-hidden">Next</span>
208
+
209
+ </button>
210
+
211
+ </div>
212
+
213
+ </div>
214
+
215
+
216
+
217
+ <div class="container bg-white py-5 my-5">
218
+
219
+ <!-- Bootstrapの特徴 -->
220
+
221
+ <div id="column">
222
+
223
+ <h2 class="text-center py-3">Bootstrapの特徴</h2>
224
+
225
+ </div>
226
+
227
+ <div class="row text-center">
228
+
229
+ <div class="col-md-4 col-12">
230
+
231
+ <img class="img-fluid" src="images/Rectangle2.jpg" alt="">
232
+
233
+ </div>
234
+
235
+ <div class="col-md-4 col-12">
236
+
237
+ <img class="img-fluid" src="images/Rectangle3.jpg" alt="">
238
+
239
+ </div>
240
+
241
+ <div class="col-md-4 col-12">
242
+
243
+ <img class="img-fluid" src="images/Rectangle4.jpg" alt="">
244
+
245
+ </div>
246
+
247
+ </div>
248
+
249
+
250
+
251
+ <!-- お客様の声 -->
252
+
253
+ <div id="Flex">
254
+
255
+ <h2 class="text-center py-3">お客様の声</h2>
256
+
257
+ </div>
258
+
259
+ <div class="d-flex flex-wrap-reverse justyfy-content-center">
260
+
261
+ <div class="col-md-6 col-12 p-0 align-self-center h3 p-4">
262
+
263
+ ダミーテキストダミーテキストダミーテキストダミーテキストダミーテキスト ダミーテキストダミーテキストダミーテキストダミーテキストダミーテキスト
264
+
265
+ </div>
266
+
267
+ <div class="col-md-6 col-12 p-0 align-self-center">
268
+
269
+ <img class="img-fluid" src="images/Rectangle5.jpg" alt="">
270
+
271
+ </div>
272
+
273
+ </div>
274
+
275
+ <div class="d-flex flex-wrap justyfy-content-center">
276
+
277
+ <div class="col-md-6 col-12 p-0 align-self-center">
278
+
279
+ <img class="img-fluid" src="images/Rectangle6.jpg" alt="">
280
+
281
+ </div>
282
+
283
+ <div class="col-md-6 col-12 p-0 align-self-center h3 p-4">
284
+
285
+ ダミーテキストダミーテキストダミーテキストダミーテキストダミーテキスト ダミーテキストダミーテキストダミーテキストダミーテキストダミーテキスト
286
+
287
+ </div>
288
+
289
+ </div>
290
+
291
+
292
+
293
+ <!-- Bootstrapのタブ -->
294
+
109
- <div class="pt-5" id="tab">
295
+ <div class="pt-5" id="tab">
110
296
 
111
297
  <h2 class="text-center py-3">Bootstrapのタブ</h2>
112
298
 
113
299
  </div>
114
300
 
115
- <div class="tab overflow">
301
+ <div class="tab">
116
302
 
117
303
  <ul class="nav nav-tabs flex-nowrap" id="myTab" role="tablist">
118
304
 
@@ -172,6 +358,26 @@
172
358
 
173
359
  </div>
174
360
 
361
+
362
+
363
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
364
+
365
+
366
+
367
+ <!-- Option 2: Separate Popper and Bootstrap JS -->
368
+
369
+ <!--
370
+
371
+ <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js" integrity="sha384-W8fXfP3gkOKtndU4JGtKDvXbO53Wy8SZCQHczT5FMiiqmQfUpWbYdTil/SxwZgAN" crossorigin="anonymous"></script>
372
+
373
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js" integrity="sha384-skAcpIdS7UcVUC05LJ9Dxay8AXcDYfBJqt1CJ85S/CFujBsIzCIv+l9liuYLaMQ/" crossorigin="anonymous"></script>
374
+
375
+ -->
376
+
377
+ </body>
378
+
379
+ </html>
380
+
175
381
  ```
176
382
 
177
383
  ```

1

Markdownでコードを上げ直しました

2021/09/28 12:47

投稿

kouhei_727
kouhei_727

スコア6

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,9 @@
22
22
 
23
23
 
24
24
 
25
+ ```html
26
+
25
- <header>
27
+ <header>
26
28
 
27
29
  <nav class="navbar navbar-expand-lg navbar-light bg-dark">
28
30
 
@@ -172,6 +174,8 @@
172
174
 
173
175
  ```
174
176
 
177
+ ```
178
+
175
179
 
176
180
 
177
181
  ### 試したこと