Page 1 of 1

Center flex grid vertically in all browsers

Posted: Sun May 18, 2025 9:05 am
by Hrankov
Is is possible to center flex grid vertically in browsers with different resolutions and remains so, even if I change the size of the browser?

Re: Center flex grid vertically in all browsers

Posted: Sun May 18, 2025 11:44 am
by Pablo
Centering vertically in the browser with responsive layouts (layout grid / flex grid) is not recommend because on smaller screen the content will most likely be clipped or cause overlaps.

If you really want this the you can set the height of the flexgrid 100vh as demonstrated here:
https://www.wysiwygwebbuilder.com/suppo ... riaan.html