The issue appears to be specific to Chrome. In Chrome, the 3D cube's face or multiple faces become transparent, giving the appearance that the animation is breaking. Sometimes adding "backface-visibility" after the break can temporarily resolve the issue until the next reload. It has been confirmed that adding this via JavaScript does not permanently fix the issue. It's worth noting that focusing on the element may prevent the issue from occurring.
To replicate the problem, follow these steps:
- Visit the link - https://jsfiddle.net/tk6bd38g/
- Copy the corresponding HTML and CSS code
- The issue usually occurs between 17-20 seconds, but it is intermittent and may take longer in some instances (up to 60 seconds)
Chrome version: 95.0.4638.69 Channel: stable OS Version: 10.0
Works correctly in the following browsers:
- Firefox - v94.0.1
- Microsoft Edge - Version 95.0.1020.40
- Brave - Version 1.31.88 (Chromium: 95.0.4638.69)
Note: Since this might be a Chrome bug, I have reported the issue to Chrome dev team. I am exploring workarounds/solutions until then.
mybot {
font-family: "Lato", sans-serif;
...
<mybot>
...
</div>
</mybot>