Good, I'm trying to center a div vertically and horizontally. Horizontally I have no problem, I use FlexBox and it always remains at the center, but vertically it gets complicated and I do not get it.
body {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
}
.container {
width: 200px;
height: 200px;
background-color: black;
}
What's wrong with me? having the direction in row the align-items: center would have to center it vertically in the parent container, which is the body. but he does not