Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizvinskyi0202 committed Sep 4, 2024
1 parent 1ac849b commit a97f186
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ body {
.scrolled {
background: #f5f2e8;
}
.navbar-toggler:focus {
box-shadow: unset !important;
}
.navbar-toggler {
border:1px solid #4e4d49;
transition: all .3s;
}

.custom-toggler .navbar-toggler {
border-color: #4e4d49;
.navbar-toggler.active {
border: 4px solid #4e4d49;
}

.custom-toggler .navbar-toggler-icon {
Expand Down
8 changes: 7 additions & 1 deletion js/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
console.log('Hello World');
document.addEventListener('DOMContentLoaded', function() {
const toggler = document.querySelector('.navbar-toggler');

toggler.addEventListener('click', function() {
toggler.classList.toggle('active');
});
});

0 comments on commit a97f186

Please sign in to comment.