Skip to content

Offcanvas with 50% width

Vasileios Mitsaras edited this page May 2, 2019 · 1 revision
.c-offcanvas--right {
    width: 50%;
    transform: translate3d(100%, 0, 0);
}
.c-offcanvas--left {
    width: 50%;
    transform: translate3d(-100%, 0, 0);
}

CSS for 50% overlay width #21

Clone this wiki locally