Absolute Positioning of Icon Messed Up ON SAFARI ONLY

Issue: I have an icon that moves back and forth a couple times within a second before centering on the middle. It uses absolute positioning. Only messed up on safari, all other browsers work.


Rough code idea:

.icon {

height: 120px;

margin-top: 120px;

position: absolute;

transform: translateY(-50%);

}


Any ideas for fixing?

iPhone SE

Posted on Sep 7, 2023 2:48 PM

There are no replies.

Absolute Positioning of Icon Messed Up ON SAFARI ONLY

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.