@DorKatzir
Posted
nice work.
center any div horizontal and vertical to the the screen size:
remove this from the body (no need for that)
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
the wrapper div must have a width and a height same as the screen. after having width and height flex will center verticlal and horizontal:
.wrapper {
width:100%;
height:100dvh;
display:flex;
align-items:center;
justify-content:center;
}
Marked as helpful