質問編集履歴
1
cssを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -162,7 +162,47 @@
|
|
162
162
|
|
163
163
|
|
164
164
|
|
165
|
-
|
165
|
+
```css
|
166
|
+
|
167
|
+
#sp-gnav {
|
168
|
+
|
169
|
+
position: fixed;
|
170
|
+
|
171
|
+
z-index: 101;
|
172
|
+
|
173
|
+
top: 0;
|
174
|
+
|
175
|
+
overflow: hidden;
|
176
|
+
|
177
|
+
height: 100%;
|
178
|
+
|
179
|
+
color: #222;
|
180
|
+
|
181
|
+
background-color: transparent;
|
182
|
+
|
183
|
+
-webkit-transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
184
|
+
|
185
|
+
transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
186
|
+
|
187
|
+
left: -16.25rem;
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
//クリック後のアニメーション
|
196
|
+
|
197
|
+
#sp-gnav.active {
|
198
|
+
|
199
|
+
left: 0;
|
200
|
+
|
201
|
+
}
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
```
|
166
206
|
|
167
207
|
### 試したこと
|
168
208
|
|