2tp
<!DOCTYPE html>
<html lang=”pl”>
<head>
<meta charset=”UTF-8″>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Pulsor</title>
<style>
#pulsor {
display: block;
height: 80px;
width: 80px;
border-radius: 50%;
animation: pulsor 1.5s infinite;
position: absolute;
left: 576px;
top: 2px;
background-color: rgb(0 0 0 / 0%);
background-image: url(„https://zs3-wyszkow.pl/wp-content/themes/zs3/inc/images/logo.png”);
background-size: contain;
background-repeat: no-repeat;
background-position-y: center;
overflow: hidden;
/*box-shadow: 0 0 8px black;*/
}
#banner:hover #pulsor {
animation: none;
}
#banner {
width: 668px;
height: 131px;
background-color: White;
position: relative;
overflow: hidden;
cursor: pointer;
margin: auto;margin-bottom: 20px;
}
#banner:hover #backgroundAnim{
animation-play-state: paused;
}
#insideBanner {
–margin-border: 5px;
width: calc(100% – var(–margin-border));
height: calc(100% – var(–margin-border));
position: absolute;
top: calc(var(–margin-border) / 2);
left: calc(var(–margin-border) / 2);
display: flex;
align-items: center;
background-color: #006696;
}
#backgroundAnim {
width: 150%;
height: 200%;
animation: spin 32s infinite;
overflow: hidden;
background-color: #006696;
position: absolute;
top: -50%;
left: -25%;
transform-origin: center;
}
@keyframes pulsor {
0% {
transform: scale(0.9);
box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
}
50% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
}
100% {
transform: scale(0.9);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<a href=”https://zs3-wyszkow.pl/ogloszenia/”>
<div id=”banner”>
<div id=”backgroundAnim”></div>
<img id=”insideBanner” src=”https://zs3-wyszkow.pl/wp-content/uploads/2022/11/baner_ogloszenia_biezace_2022_23.png” >
<span id=”pulsor”></span>
</div>
</a>
</body>
</html>