-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The gmail is created with html tailwindcss & js
- Loading branch information
0 parents
commit f7292c9
Showing
1,191 changed files
with
206,163 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
let aside_bar = document.querySelector(".aside_bar"); | ||
let bar_click = document.querySelector(".bar_click"); | ||
let icon_change = document.querySelector(".icon_change"); | ||
let mark_all_checkbox = document.querySelector(".mark_all_checkbox"); | ||
let show_icon = document.querySelector(".show_icon"); | ||
let preloader_custom = document.querySelector(".preloader_custom"); | ||
|
||
bar_click.addEventListener("click", () => { | ||
icon_change.classList.toggle("fa-times"); | ||
aside_bar.classList.toggle("-ml-[60%]"); | ||
}); | ||
|
||
mark_all_checkbox.addEventListener("click", () => { | ||
show_icon.classList.toggle("hidden"); | ||
}); | ||
|
||
// preloader | ||
window.addEventListener("load", () => { | ||
preloader_custom.classList.add("hidden"); | ||
}); |
Oops, something went wrong.