質問編集履歴
8
title
CHANGED
File without changes
|
body
CHANGED
@@ -199,5 +199,7 @@
|
|
199
199
|
### 補足情報(FW/ツールのバージョンなど)
|
200
200
|
Visual Studio Codeのバージョン: 1.52.1を使用しています。
|
201
201
|
Chromeで動作確認をしています。
|
202
|
+
[追記]サーバーには繋いでおらず、ローカルのみで動作確認をしていますが関係があるのでしょうか。
|
202
203
|
|
204
|
+
|
203
205
|
以上、よろしくお願いします。
|
7
title
CHANGED
File without changes
|
body
CHANGED
@@ -61,7 +61,135 @@
|
|
61
61
|
```
|
62
62
|
|
63
63
|
```CSS
|
64
|
+
*{box-sizing: border-box}
|
65
|
+
|
66
|
+
body{
|
67
|
+
max-width:1040px;
|
68
|
+
margin: 0 auto;
|
69
|
+
font-family: Georgia, '游明æœ', YuMincho, 'Hiragino Mincho ProN', Meiryo, serif;
|
70
|
+
line-height: 1.8;
|
71
|
+
}
|
72
|
+
|
73
|
+
h1 a{
|
74
|
+
font-weight: 700;
|
75
|
+
font-size: 36px;
|
76
|
+
line-height: 1.3;
|
77
|
+
}
|
78
|
+
|
79
|
+
p{font-size: 18px;}
|
80
|
+
|
81
|
+
.container{
|
82
|
+
height: 100px;
|
83
|
+
width: 1040px;
|
84
|
+
margin-top: 50px;
|
85
|
+
margin-bottom: 60px;
|
86
|
+
display: flex;
|
87
|
+
justify-content: space-between;
|
88
|
+
}
|
89
|
+
|
90
|
+
.header__title{
|
91
|
+
vertical-align: middle;
|
92
|
+
margin-top: 10px;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
a{
|
97
|
+
color: #111111;
|
98
|
+
font-family: Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;;
|
99
|
+
text-decoration: none;
|
100
|
+
display: block;
|
101
|
+
line-height: 52px;
|
102
|
+
font-size: 17px;
|
103
|
+
text-align: left;
|
104
|
+
cursor: pointer;
|
105
|
+
}
|
106
|
+
|
107
|
+
a:hover{
|
108
|
+
color: #c49029;
|
109
|
+
}
|
110
|
+
|
111
|
+
nav{
|
112
|
+
padding-top: 40px;
|
113
|
+
margin-left: 156px;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
64
|
-
|
117
|
+
ul{
|
118
|
+
display: flex;
|
119
|
+
list-style: none;
|
120
|
+
padding: 0;
|
121
|
+
margin: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
ul.menu li{
|
125
|
+
padding-right:30px;
|
126
|
+
display: inline-block;
|
127
|
+
list-style-type: none;
|
128
|
+
position:relative;
|
129
|
+
}
|
130
|
+
|
131
|
+
.after::after{
|
132
|
+
display: inline-block;
|
133
|
+
font: normal 14px Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
|
134
|
+
-webkit-font-smoothing: antialiased;
|
135
|
+
font-family: "Font Awesome 5 Free";
|
136
|
+
font-weight: 900;
|
137
|
+
content: "\f107";
|
138
|
+
position: relative;
|
139
|
+
right: -8px;
|
140
|
+
bottom: 1px;
|
141
|
+
}
|
142
|
+
|
143
|
+
ul.menu ul{
|
144
|
+
display: none;
|
145
|
+
margin: 0;
|
146
|
+
padding: 0;
|
147
|
+
position:absolute;
|
148
|
+
}
|
149
|
+
|
150
|
+
ul.menu ul li{
|
151
|
+
padding: 10px 20px 0px 20px;
|
152
|
+
width: 188px;
|
153
|
+
background-color: #fff;
|
154
|
+
border: solid 1px gray;
|
155
|
+
}
|
156
|
+
|
157
|
+
ul.menu li:hover ul{
|
158
|
+
display: block;
|
159
|
+
}
|
160
|
+
|
161
|
+
.search:focus{
|
162
|
+
width:200px;
|
163
|
+
height: 34px;
|
164
|
+
border:1px solid #e0e0e0;
|
165
|
+
background-color: white;
|
166
|
+
cursor: text;
|
167
|
+
}
|
168
|
+
|
169
|
+
.search{
|
170
|
+
height: 34px;
|
171
|
+
width: 0;
|
172
|
+
background: url(../img/search.jpeg) no-repeat left center ;
|
173
|
+
background-size: 26px;
|
174
|
+
padding-left: 36px;
|
175
|
+
font-size: 16px;
|
176
|
+
border:1px solid #e0e0e0;
|
177
|
+
z-index:5;
|
178
|
+
position: absolute;
|
179
|
+
right:0;
|
180
|
+
top: -5px;
|
181
|
+
outline: none;
|
182
|
+
border: none;
|
183
|
+
cursor: pointer;
|
184
|
+
transition: all 0.5s;
|
185
|
+
}
|
186
|
+
|
187
|
+
.search-list{
|
188
|
+
height: 40px;
|
189
|
+
display: inline;
|
190
|
+
float:right;
|
191
|
+
position:relative;
|
192
|
+
}
|
65
193
|
```
|
66
194
|
|
67
195
|
|
6
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
5
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,10 +58,13 @@
|
|
58
58
|
</html>
|
59
59
|
|
60
60
|
|
61
|
+
```
|
62
|
+
|
61
63
|
```CSS
|
62
64
|
コード
|
63
65
|
```
|
64
66
|
|
67
|
+
|
65
68
|
### 試したこと
|
66
69
|
初心者なのでどれを試せばいいのかわかりませんでした。
|
67
70
|
|
4
title
CHANGED
File without changes
|
body
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
</header>
|
56
56
|
<img src="img/cropped-nicole-honeywill-730102-unsplash.jpg">
|
57
57
|
</body>
|
58
|
-
</html>
|
58
|
+
</html>
|
59
59
|
|
60
60
|
|
61
61
|
```CSS
|
3
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,141 +58,10 @@
|
|
58
58
|
</html>```
|
59
59
|
|
60
60
|
|
61
|
-
```
|
61
|
+
```CSS
|
62
|
-
|
63
|
-
*{box-sizing: border-box}
|
64
|
-
|
65
|
-
body{
|
66
|
-
max-width:1040px;
|
67
|
-
margin: 0 auto;
|
68
|
-
font-family: Georgia, '游明æœ', YuMincho, 'Hiragino Mincho ProN', Meiryo, serif;
|
69
|
-
line-height: 1.8;
|
70
|
-
}
|
71
|
-
|
72
|
-
h1 a{
|
73
|
-
font-weight: 700;
|
74
|
-
font-size: 36px;
|
75
|
-
line-height: 1.3;
|
76
|
-
}
|
77
|
-
|
78
|
-
p{font-size: 18px;}
|
79
|
-
|
80
|
-
.container{
|
81
|
-
height: 100px;
|
82
|
-
width: 1040px;
|
83
|
-
margin-top: 50px;
|
84
|
-
margin-bottom: 60px;
|
85
|
-
display: flex;
|
86
|
-
justify-content: space-between;
|
87
|
-
}
|
88
|
-
|
89
|
-
.header__title{
|
90
|
-
vertical-align: middle;
|
91
|
-
margin-top: 10px;
|
92
|
-
}
|
93
|
-
|
94
|
-
|
95
|
-
a{
|
96
|
-
color: #111111;
|
97
|
-
font-family: Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;;
|
98
|
-
text-decoration: none;
|
99
|
-
display: block;
|
100
|
-
line-height: 52px;
|
101
|
-
font-size: 17px;
|
102
|
-
text-align: left;
|
103
|
-
cursor: pointer;
|
104
|
-
}
|
105
|
-
|
106
|
-
a:hover{
|
107
|
-
color: #c49029;
|
108
|
-
}
|
109
|
-
|
110
|
-
nav{
|
111
|
-
padding-top: 40px;
|
112
|
-
margin-left: 156px;
|
113
|
-
}
|
114
|
-
|
115
|
-
|
116
|
-
|
62
|
+
コード
|
117
|
-
display: flex;
|
118
|
-
list-style: none;
|
119
|
-
padding: 0;
|
120
|
-
margin: 0;
|
121
|
-
}
|
122
|
-
|
123
|
-
ul.menu li{
|
124
|
-
padding-right:30px;
|
125
|
-
display: inline-block;
|
126
|
-
list-style-type: none;
|
127
|
-
position:relative;
|
128
|
-
}
|
129
|
-
|
130
|
-
.after::after{
|
131
|
-
display: inline-block;
|
132
|
-
font: normal 14px Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
|
133
|
-
-webkit-font-smoothing: antialiased;
|
134
|
-
font-family: "Font Awesome 5 Free";
|
135
|
-
font-weight: 900;
|
136
|
-
content: "\f107";
|
137
|
-
position: relative;
|
138
|
-
right: -8px;
|
139
|
-
bottom: 1px;
|
140
|
-
}
|
141
|
-
|
142
|
-
ul.menu ul{
|
143
|
-
display: none;
|
144
|
-
margin: 0;
|
145
|
-
padding: 0;
|
146
|
-
position:absolute;
|
147
|
-
}
|
148
|
-
|
149
|
-
ul.menu ul li{
|
150
|
-
padding: 10px 20px 0px 20px;
|
151
|
-
width: 188px;
|
152
|
-
background-color: #fff;
|
153
|
-
border: solid 1px gray;
|
154
|
-
}
|
155
|
-
|
156
|
-
ul.menu li:hover ul{
|
157
|
-
display: block;
|
158
|
-
}
|
159
|
-
|
160
|
-
.search:focus{
|
161
|
-
width:200px;
|
162
|
-
height: 34px;
|
163
|
-
border:1px solid #e0e0e0;
|
164
|
-
background-color: white;
|
165
|
-
cursor: text;
|
166
|
-
}
|
167
|
-
|
168
|
-
.search{
|
169
|
-
height: 34px;
|
170
|
-
width: 0;
|
171
|
-
background: url(../img/search.jpeg) no-repeat left center ;
|
172
|
-
background-size: 26px;
|
173
|
-
padding-left: 36px;
|
174
|
-
font-size: 16px;
|
175
|
-
border:1px solid #e0e0e0;
|
176
|
-
z-index:5;
|
177
|
-
position: absolute;
|
178
|
-
right:0;
|
179
|
-
top: -5px;
|
180
|
-
outline: none;
|
181
|
-
border: none;
|
182
|
-
cursor: pointer;
|
183
|
-
transition: all 0.5s;
|
184
|
-
}
|
185
|
-
|
186
|
-
.search-list{
|
187
|
-
height: 40px;
|
188
|
-
display: inline;
|
189
|
-
float:right;
|
190
|
-
position:relative;
|
191
|
-
}
|
192
|
-
|
193
63
|
```
|
194
64
|
|
195
|
-
|
196
65
|
### 試したこと
|
197
66
|
初心者なのでどれを試せばいいのかわかりませんでした。
|
198
67
|
|
2
title
CHANGED
File without changes
|
body
CHANGED
@@ -59,6 +59,7 @@
|
|
59
59
|
|
60
60
|
|
61
61
|
```css
|
62
|
+
|
62
63
|
*{box-sizing: border-box}
|
63
64
|
|
64
65
|
body{
|
@@ -188,8 +189,10 @@
|
|
188
189
|
float:right;
|
189
190
|
position:relative;
|
190
191
|
}
|
192
|
+
|
191
193
|
```
|
192
194
|
|
195
|
+
|
193
196
|
### 試したこと
|
194
197
|
初心者なのでどれを試せばいいのかわかりませんでした。
|
195
198
|
|
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -57,6 +57,7 @@
|
|
57
57
|
</body>
|
58
58
|
</html>```
|
59
59
|
|
60
|
+
|
60
61
|
```css
|
61
62
|
*{box-sizing: border-box}
|
62
63
|
|
@@ -186,7 +187,9 @@
|
|
186
187
|
display: inline;
|
187
188
|
float:right;
|
188
189
|
position:relative;
|
190
|
+
}
|
189
|
-
|
191
|
+
```
|
192
|
+
|
190
193
|
### 試したこと
|
191
194
|
初心者なのでどれを試せばいいのかわかりませんでした。
|
192
195
|
|