Closed cekvenich closed 6 years ago
You have to change the CSS.
.c-offcanvas {
transition: transform 300ms cubic-bezier(0.4, 0, 0.6, 1);
}
.c-offcanvas {
transition-duration: 150ms;
}
Worked, thx. I used 200ms.
(you can see the projects at Metabake.org)
OK. I can't find the offcanvas on metabake
One example web app: https://github.com/metabake/front-end-frameworks/tree/master/fullPage
but if you want more examples, there are 5, including SPA phonegap: npm -g i mbake mbake
I am glad I was able to help you.
@vmitsaras any idea how to control the speed when closes the off canvas ?
Hi @manchumahara, you can use the .c-offcanvas--closing class to control the speed/duration
.c-offcanvas--closing {
transition-duration: .7s;
transition-timing-function: cubic-bezier(0.4, 0.0, 1, 1)
}
Some Info: https://material.io/design/motion/speed.html#easing
Is there a way to make the open faster?
I looked at docs and can't see it.
ps: we use this at metabake.org