Last active
November 6, 2024 03:35
-
-
Save wplit/70e81ef9fd922e7c211f2ddd3f591445 to your computer and use it in GitHub Desktop.
push whole site to right when offcanvas open.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CSS..
html:has(.offcanvas_push) {
overflow-x: hidden;
}
.brx-body {
transition: all 0.3s cubic-bezier(0.77,0,0.175,1);
margin: 0;
}
.offcanvas_push {
margin-left: 300px; /* amount you want the page to move from the left */
}