There seems to be an issue in Safari iOS version with the transform: rotate3d()
I am testing it out using this HTML code
<span class="safari-box"></span>
For instance, when I use the following code, the animation is visible
/* test */
.safari-box {
width: 100px;
height: 150px;
background-color: $color-principal;
display: block;
margin: auto;
border-radius: 20px;
animation: safari-box-animation 2s infinite;
animation-timing-function: linear;
}
@keyframes safari-box-animation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate3d(1,.5,1, 180deg);
transform: rotate3d(1,.5,1, 180deg);
}
}
However, as soon as I increase the rotation degrees, the animation stops working
/* test */
.safari-box {
width: 100px;
height: 150px;
background-color: $color-principal;
display: block;
margin: auto;
border-radius: 20px;
animation: safari-box-animation 2s infinite;
animation-timing-function: linear;
}
@keyframes safari-box-animation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate3d(1,.5,1, 1080deg);
transform: rotate3d(1,.5,1, 1080deg);
}
}
Does anyone have any insights into what might be causing this issue?