質問編集履歴

1

返信ありがとうございます。ご指摘頂いた通り追加でcssの記述をさせていただきました。

2021/03/17 02:55

投稿

ramen46
ramen46

スコア0

test CHANGED
File without changes
test CHANGED
@@ -112,9 +112,107 @@
112
112
 
113
113
  </html>
114
114
 
115
- ```ここに言語名を入力
115
+ ```style.css
116
-
116
+
117
- ソースコード
117
+ body {
118
+
119
+ margin: 0 auto;
120
+
121
+ }
122
+
123
+ header {
124
+
125
+ height: 120px;
126
+
127
+ }
128
+
129
+ .header-title {
130
+
131
+ padding: 52px 0 0 97px;
132
+
133
+ float: left;
134
+
135
+ transition: all 0.5s;
136
+
137
+ z-index: 50;
138
+
139
+ }
140
+
141
+ .header-title:hover {
142
+
143
+ opacity: 0.5;
144
+
145
+ }
146
+
147
+ .header-title img {
148
+
149
+ width: 272px;
150
+
151
+ height: 67px;
152
+
153
+ }
154
+
155
+ .header-list {
156
+
157
+ padding-top: 60px;
158
+
159
+ z-index: 50;
160
+
161
+ }
162
+
163
+ .header-list a {
164
+
165
+ text-decoration: none;
166
+
167
+ transition: all 0.1s;
168
+
169
+ color: white;
170
+
171
+ }
172
+
173
+ .header-list ul {
174
+
175
+ list-style: none;
176
+
177
+ float: right;
178
+
179
+ padding-right: 70px;
180
+
181
+ }
182
+
183
+ .header-list li {
184
+
185
+ float: left;
186
+
187
+ padding-right: 35px;
188
+
189
+ }
190
+
191
+ .header-list a:hover {
192
+
193
+ border-bottom: 3px solid white;
194
+
195
+ padding-bottom: 2px;
196
+
197
+ }
198
+
199
+ .bg-slider {
200
+
201
+ width: 100vw;
202
+
203
+ height: 100vh;
204
+
205
+ background-position:center center;
206
+
207
+ background-size: cover;
208
+
209
+ display: flex;
210
+
211
+ align-items: center;
212
+
213
+ justify-content: center;
214
+
215
+ }
118
216
 
119
217
  ```
120
218