@jhaynes322Submitted over 2 years ago
I had a hard time with this one. I still seem to be struggling with vertical centering. I used margin-top, but it seems like there may be a better way. Can anyone help?
I had a hard time with this one. I still seem to be struggling with vertical centering. I used margin-top, but it seems like there may be a better way. Can anyone help?
If you're talking about centering the entire card vertically, try creating a container component around your entire card and setting it to display: flex; with justify-content: center; and align-items: center;. Just make sure that the height of the container is 100%. - https://stackoverflow.com/questions/19026884/flexbox-center-horizontally-and-vertically