質問編集履歴
1
cssコード記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,3 +15,221 @@
|
|
15
15
|
|
16
16
|
|
17
17
|
自分でも果たしてこれが質問になっているのか少し疑問ですが、このプロパティにしっくり来てないので、何か助けになるような回答お願いいたします。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
.topics{
|
22
|
+
|
23
|
+
padding: 120px;
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
.topics .content-wrapper{
|
30
|
+
|
31
|
+
display: -ms-flexbox;
|
32
|
+
|
33
|
+
display: -webkit-flex;
|
34
|
+
|
35
|
+
display: flex;
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
.topics .heading{
|
42
|
+
|
43
|
+
width: 35%;
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
.topics .content{
|
50
|
+
|
51
|
+
width: 65%;
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
.topics .content table{
|
58
|
+
|
59
|
+
width: 100%;
|
60
|
+
|
61
|
+
margin: 0 0 25% 0;
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
.topics .content th{
|
68
|
+
|
69
|
+
padding: 20px 2em 20px 0;
|
70
|
+
|
71
|
+
border-bottom: 1px dotted;/*下線。の種類*/
|
72
|
+
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
.topics .content td{
|
78
|
+
|
79
|
+
border-bottom: 1px dotted;
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
.topics .content tr:last-of-type th,
|
86
|
+
|
87
|
+
.topics .content tr:last-of-type td{
|
88
|
+
|
89
|
+
border-bottom: 1px dotted;
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
.topics .content .btn{/*ボタン*/
|
96
|
+
|
97
|
+
margin: 0;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
.topics .content .btn a{
|
104
|
+
|
105
|
+
display: block;/*これのおかげで幅、高さ、位置の指定ができる*/
|
106
|
+
|
107
|
+
font-size: 0.8rem;
|
108
|
+
|
109
|
+
color: #000;
|
110
|
+
|
111
|
+
border: 1px solid #000;
|
112
|
+
|
113
|
+
text-align: center;
|
114
|
+
|
115
|
+
width: 200px;
|
116
|
+
|
117
|
+
line-height: 60px;
|
118
|
+
|
119
|
+
margin: 0 0 0 auto;
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
.topics .content .btn a:hover{/*ホバーすると、、、のやつ*/
|
126
|
+
|
127
|
+
background: #333;/*ホバー背景変化*/
|
128
|
+
|
129
|
+
color: #fff;/*ホバー文字変化*/
|
130
|
+
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
@media screen and (max-width:1199px){/*1199px以下でおこる変化*/
|
136
|
+
|
137
|
+
.topics{
|
138
|
+
|
139
|
+
padding: 50px 5vw;
|
140
|
+
|
141
|
+
}
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
.topics .content-wrapper{
|
146
|
+
|
147
|
+
display: block;/*ブロック要素に変換*//*display: flex;をdisplay: block;で縦並びに戻している*/
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
.topics .heading{
|
154
|
+
|
155
|
+
width: 100%;
|
156
|
+
|
157
|
+
}
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
.topics .heading h2{
|
162
|
+
|
163
|
+
text-align: center;
|
164
|
+
|
165
|
+
margin-bottom: 5vw;
|
166
|
+
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
.topics .content{
|
172
|
+
|
173
|
+
width: 100%;
|
174
|
+
|
175
|
+
}
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
@media screen and (max-width: 767px){/*767px以内でおこる変化*/
|
182
|
+
|
183
|
+
.topics{
|
184
|
+
|
185
|
+
padding: 50px 0;
|
186
|
+
|
187
|
+
width: 90%;
|
188
|
+
|
189
|
+
margin: 0 auto;
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
.topics .content .btn a{
|
196
|
+
|
197
|
+
width: 35%;
|
198
|
+
|
199
|
+
min-width: 200px;
|
200
|
+
|
201
|
+
margin: 0 auto;
|
202
|
+
|
203
|
+
}
|
204
|
+
|
205
|
+
}
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
@media screen and (max-width: 479px){/*479px以内でおこる変化*/
|
210
|
+
|
211
|
+
.topics .content th{
|
212
|
+
|
213
|
+
display: block;
|
214
|
+
|
215
|
+
width: 100%;
|
216
|
+
|
217
|
+
text-align: left;
|
218
|
+
|
219
|
+
padding: 1.25em 0 0 0;
|
220
|
+
|
221
|
+
border-bottom: 0;
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
.topics .content td{
|
228
|
+
|
229
|
+
display: block;
|
230
|
+
|
231
|
+
width: 100%;
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
}
|