Я действительно не очень разбираюсь в jQuery, поэтому я вас спрашиваю. Любое исправление поможет. Еще одно замечание: это происходит на веб-сайте пекарни (не знаю, зачем вам это нужно знать, но да.) pic,

$(window).on("load",function(){
$(".wave").fadeOut("slow");
$(".center").fadeOut("slow");
});
.content{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.bodY {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.center {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #000;
}
.wave {
width: 5px;
height: 100px;
background: linear-gradient(45deg, cyan, #fff);
margin: 10px;
animation: wave 1s linear infinite;
border-radius: 20px;
}
.wave:nth-child(2) {
animation-delay: 0.1s;
}
.wave:nth-child(3) {
animation-delay: 0.2s;
}
.wave:nth-child(4) {
animation-delay: 0.3s;
}
.wave:nth-child(5) {
animation-delay: 0.4s;
}
.wave:nth-child(6) {
animation-delay: 0.5s;
}
.wave:nth-child(7) {
animation-delay: 0.6s;
}
.wave:nth-child(8) {
animation-delay: 0.7s;
}
.wave:nth-child(9) {
animation-delay: 0.8s;
}
.wave:nth-child(10) {
animation-delay: 0.9s;
}
@keyframes wave {
0% {
transform: scale(0);
}
50% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
Я на самом деле не все пробовал, потому что опять же я не очень разбираюсь в jQuery, но я выберу часть jQuery,
$(window).on("load",function(){
$(".wave").fadeOut("slow");
$(".center").fadeOut("slow");
});
Подробнее здесь: https://stackoverflow.com/questions/716 ... erience-it
Мобильная версия