Closed madmath03 closed 6 years ago
What IE and Chrome versions exactly? Works for me with Chrome 63.
I noticed this on Chrome 63.0.3239.132 (64 bits) and IE 11.192.16299.0
The margin-top: 35%
somehow uses the window's width as reference (instead of the window height) on those browsers.
IE and Chrome give this weird looking behavior when resizing only width and does nothing when resizing height:
Firefox 58 and Edge give a more pleasant and responsive behavior:
Using viewport height for margin-top
gives the same behavior for Chrome 63, IE 11, FF 58 and Edge.
Use viewport height for defining the margin-top.