質問編集履歴
2
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -171,3 +171,15 @@
|
|
171
171
|
}
|
172
172
|
|
173
173
|
```
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<追記>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
Design.を丁度ボーダーの真ん中に配置したいです。
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
![イメージ説明](af0a4bcac375230175a5b73999458805.png)
|
1
CSS追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -109,3 +109,65 @@
|
|
109
109
|
}
|
110
110
|
|
111
111
|
```
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
下記の様に、CSS書き直してみたのですがどうしでだか
|
116
|
+
|
117
|
+
枠線と文字が重なり合いません。
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
![イメージ説明](264d455a105e85ae477ace44279bd746.png)
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
```CSS
|
126
|
+
|
127
|
+
div.fv_img {
|
128
|
+
|
129
|
+
width: 100vw;
|
130
|
+
|
131
|
+
height: 90vh;
|
132
|
+
|
133
|
+
background-image: url(./img/fv-bgi@2x.jpg);
|
134
|
+
|
135
|
+
background-size: cover;
|
136
|
+
|
137
|
+
z-index: -1;
|
138
|
+
|
139
|
+
display: flex;
|
140
|
+
|
141
|
+
justify-content: center;
|
142
|
+
|
143
|
+
align-items: center;
|
144
|
+
|
145
|
+
flex-direction: column;
|
146
|
+
|
147
|
+
margin-bottom: 100px;
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
div.fv h2 {
|
156
|
+
|
157
|
+
width: 449px;
|
158
|
+
|
159
|
+
height: 136px;
|
160
|
+
|
161
|
+
font-size: 5rem;
|
162
|
+
|
163
|
+
color: #fff;
|
164
|
+
|
165
|
+
border: 2px solid white;
|
166
|
+
|
167
|
+
padding: 34px 42px;
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
}
|
172
|
+
|
173
|
+
```
|