A
A
AntonVirovets2018-02-13 21:45:34
css
AntonVirovets, 2018-02-13 21:45:34

Why doesn't the side menu slide back?

Hello. Here is such a problem. The slider slides out beautifully, and when you click again, it simply disappears. How to make it look nice and drive in just as nice?
https://jsbin.com/yuyawic/1/edit?html,css,js,output

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-02-13
@AntonVirovets

Remove opacity ... Or add it to transition . And now your element becomes transparent instantly - hence the illusion that it "just disappears". Not just - moves as you need, but being invisible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question