質問編集履歴
1
コードの挿入
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,73 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
|
18
|
+
```ここに言語を入力
|
19
|
+
|
20
|
+
<section class="section_02">
|
21
|
+
<div class="news_content">
|
22
|
+
<ul>
|
23
|
+
<li>2021.01.01</li>
|
24
|
+
<li class="news_heading">NEWS</li>
|
25
|
+
</ul>
|
26
|
+
<p>テキストテキストテキストテキスト</p>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<!-- 以下2回繰り返し -->
|
30
|
+
|
31
|
+
</div>
|
32
|
+
<div class="news_content">
|
33
|
+
<ul>
|
34
|
+
<li>2021.01.01</li>
|
35
|
+
<li class="news_heading">NEWS</li>
|
36
|
+
</ul>
|
37
|
+
<p>テキストテキストテキストテキスト</p>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="news_content">
|
41
|
+
<ul>
|
42
|
+
<li>2021.01.01</li>
|
43
|
+
<li class="news_heading">NEWS</li>
|
44
|
+
</ul>
|
45
|
+
<p>テキストテキストテキストテキスト</p>
|
46
|
+
</div>
|
47
|
+
</section>
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
.section_02 {
|
52
|
+
display: flex;
|
53
|
+
margin-left: 15%;
|
54
|
+
}
|
55
|
+
.news_header {
|
56
|
+
margin-bottom: 10px;
|
57
|
+
}
|
58
|
+
|
59
|
+
.news_content {
|
60
|
+
margin-right: 50px;
|
61
|
+
border-right: #000 solid 2px;
|
62
|
+
padding-right: 10px;
|
63
|
+
}
|
64
|
+
|
65
|
+
.news_content ul {
|
66
|
+
display: flex;
|
67
|
+
}
|
68
|
+
|
69
|
+
.section_02 ul {
|
70
|
+
list-style: none;
|
71
|
+
align-items: center;
|
72
|
+
}
|
73
|
+
|
74
|
+
.section_02 p {
|
75
|
+
margin-top: 30px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.news_heading {
|
79
|
+
background-color: #000;
|
80
|
+
color: #fff;
|
81
|
+
padding: 5px 10px;
|
82
|
+
margin-left: 20px;
|
83
|
+
}
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
|