Как скрыть вылезающую часть анимации при повороте ? Когда квадрат на ребро становится , он выходит за размер секции
@keyframes rotate {
0% {transform:rotate(0deg);}
100% {transform:rotate(360deg);}
}
.header__square-pic {
height: 568px;
width: 568px;
background-color: #2f80ed;
position: absolute;
right: 0px;
top:64px;
z-index: 0;
animation: rotate 20s infinite linear;}
