css - hiding divs with negative margins on ipad -
i have animation on ipad
things go -200px
1500px
, hidden in browser overflow-x:hidden
.
when on ipad
can scroll "off screen"
, see hidden items though body , html , set width:100%
, height:100%.
how can fix in ipad?
you might use media querys ipad viewport.
@media screen , (min-device-width : 768px) , (max-device-width : 1024px) { /* styles go here */}
Comments
Post a Comment