Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active September 11, 2024 01:58
Show Gist options
  • Save wplit/9cfcaf9dac423cf8aca2cc202f67d68a to your computer and use it in GitHub Desktop.
Save wplit/9cfcaf9dac423cf8aca2cc202f67d68a to your computer and use it in GitHub Desktop.
adding margin to header/content/footer on offcanvas open.
@wplit
Copy link
Author

wplit commented Sep 11, 2024

#brx-header,
#brx-content,
#brx-footer {
transition: margin 0.3s cubic-bezier(0.77,0,0.175,1);
margin-left: 0px;
}

.body-push-right #brx-header,
.body-push-right #brx-content,
.body-push-right #brx-footer {
margin-left: 300px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment