JS ładowarka

//css
<link rel="stylesheet" type="text/css" href="https://www.cssscript.com/demo/loading-spinner-toast-noticekit/dist/notice.min.css">
  
const instance = new Notice();

//show
instance.showLoading({
  type: 'dots' //line(default), dots, dots_zoom, cube_flip, cube_zoom
});

//hide
instance.hideLoading()

//js
<script type="text/javascript" language="javascript" src='https://www.cssscript.com/demo/loading-spinner-toast-noticekit/dist/notice.min.js' defer></script>
iF n OnLy iF