The solution with jQuery has the disadvantage of using a third party library as jQuery. Modern frameworks try to avoid that.
The solution with flex box has the disadvantage of the 100vh making weird in most mobile browsers due to their mutable viewport heights, because their hiding top and bottom browser menus.
Good article!!!
I would like to add:
The solution with jQuery has the disadvantage of using a third party library as jQuery. Modern frameworks try to avoid that.
The solution with flex box has the disadvantage of the 100vh making weird in most mobile browsers due to their mutable viewport heights, because their hiding top and bottom browser menus.
Thank you very much. I will update the article.