document.addEventListener('DOMContentLoaded', function() { let loader = document.querySelector('.vanilla-preloader'); loader.style.opacity = 0; loader.addEventListener('transitionend', () => loader.remove()); }); .vanilla-preloader { position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; transition: 0.4s opacity; pointer-events:none; background: url('http://aida-home-style.com/nouveau/maison-ad/wp-content/uploads/sites/2/2022/02/logo-baseline.png') 50% 50% no-repeat #fff; } .elementor-editor-active .vanilla-preloader { display: none; }
Logo Maison AD blanc pour page d'accueil