Skip to content

Commit

Permalink
toaster set
Browse files Browse the repository at this point in the history
  • Loading branch information
inlancersystem4 committed Nov 18, 2023
1 parent 7d2b227 commit a9c0e6f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3227,6 +3227,7 @@
gap: 12px;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
padding: 4px 12px;
display: none;
}


Expand Down
19 changes: 19 additions & 0 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,25 @@ $(document).ready(function () {
}
});




function createToaster() {
var toaster = $('.toaster');

toaster.hide();

// $('body').append(toaster);

setTimeout(function () {
toaster.fadeIn();
toaster.css('display', 'flex');

}, 2000);
}

createToaster();

})


Expand Down

0 comments on commit a9c0e6f

Please sign in to comment.