Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#sidebarToggleTop").click(function(){
- let visivel = $("aside").is(":visible");
- console.log(visivel);
- if(visivel) {
- $("aside").hide();
- $("#main").css("margin-left","0px");
- } else {
- $("aside").show();
- $("#main").css("margin-left","125px");
- }
- })
- aside
- max-width: 150px;
- #main
- margin-left: 0px
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement