console
<div class="div container">
<div class="div1">
<div class="wave"></div>
</div>
<div class="div2"></div>
</div>
.div{
width: calc(30px * 1.414);
height: calc(30px);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.div1{
transform:rotate(-45deg);
position: relative;
top:calc(30px * -0.17);
z-index:2;
width: 30px;
height: 30px;
background: red;
-webkit-mask:
radial-gradient(10px,#fff 85%, transparent 101%) top left,
radial-gradient(10px,#fff 85%, transparent 101%) bottom right,
linear-gradient(to right,transparent 1%,#fff 3%) 0% calc(100% - 3px),
linear-gradient(to top,transparent 1%,#fff 3%) 3px 100%,
radial-gradient(4px at 100% 0%,#fff 50%, transparent 90%) 0% 100%;
-webkit-mask-size:
66.66% 66.66%,
66.66% 66.66%,
64.66% calc(66.66% - 3px),
calc(66.66% - 3px) 64.66%,
3px 3px;
-webkit-mask-repeat: no-repeat;
}
.div2{
transform:rotate(-45deg) scale(1.05);
position: absolute;
top:calc(30px * -0.17);
z-index:1;
width: 30px;
height: 30px;
background: red;
-webkit-mask:
radial-gradient(10px,#fff 85%, transparent 101%) top left,
radial-gradient(10px,#fff 85%, transparent 101%) bottom right,
linear-gradient(to right,transparent 1%,#fff 3%) 0% calc(100% - 3px),
linear-gradient(to top,transparent 1%,#fff 3%) 3px 100%,
radial-gradient(4px at 100% 0%,#fff 50%, transparent 90%) 0% 100%;
-webkit-mask-size:
66.66% 66.66%,
66.66% 66.66%,
64.66% calc(66.66% - 3px),
calc(66.66% - 3px) 64.66%,
3px 3px;
-webkit-mask-repeat: no-repeat;
}
.wave{
transform:rotate(30deg);
width: 30px;
height: 30px;
}
.wave:before,
.wave:after{content: "";
position: absolute;
width: 1000px;
height: 1000px;
top: -400px;
left:200px;
border-radius: 47%;
background-color: rgba(255,255,255,.4);
transform: translate(-55%,-56%) rotate(0deg);
animation: rotate 6s linear infinite;
z-index: 10;
}
.wave:after {
border-radius: 49%;
background-color: rgba(255,255,255,.9);
animation: rotate 7s linear -5s infinite;
z-index: 20;
}
@keyframes rotate {
50%{
transform: translate(-55%,-55.1%) rotate(180deg);
}
100%{
transform: translate(-55%,-55%) rotate(360deg);
}
}