javascript - Masonry layout bug on Safari, using a Wordpress site -
i'm stumped. use masonry on wordpress site, , looks fine on major browsers except safari.
here article link, example:
masonry article apple watch on wordpress site
on safari div items squashed up, , have no idea why.
- i've deactivated plugins, made no difference
- i've tried using position:absolute; inside div item, blocks overlapped
- i've tried vertical-align:top; inside div item, made no difference
any appreciate. stumped on one...thanks!
as @dcardoso mentioned, item class backface-visibility style causing issue. seems adding transform forces safari correctly render item.
-webkit-transform: translate3d(0,0,0);
Comments
Post a Comment