Set "speed"
cfoellmann opened this issue · 2 comments
cfoellmann commented
Is it possible to set a value for the speed of the "push in"?
vmitsaras commented
Hi @cfoellmann,
you can change the value (300ms) in css
.c-offcanvas-bg.c-offcanvas-bg--push, .c-offcanvas-bg.c-offcanvas-bg--reveal, .c-offcanvas-content-wrap, .c-offcanvas {
transition: transform 300ms cubic-bezier(0.4, 0, 0.6, 1);
}
.c-offcanvas-bg.c-offcanvas-bg--push, .c-offcanvas-bg.c-offcanvas-bg--reveal, .c-offcanvas-content-wrap, .c-offcanvas {
transition-duration: 300ms;
}
cfoellmann commented
Thanks for the quick answer.
But it seems that I am not able to understand the overwrite. even when I modify the css file and do not try to overwrite.
My data is in
<aside class="js-offcanvas c-offcanvas c-offcanvas--left c-offcanvas--overlay is-closed" id="offCanvas">
<div class="c-offcanvas__inner o-box u-pos-relative">
</div>
</aside>