Eduardo Zamit• 50
@eduardozamit
Submitted
I'm not really sure about my container centering method and I intend to implement this code in the future to make it better.
if you have any tips for me i would be grateful!
@MoshiurRaihan95
@eduardozamit
Submitted
I'm not really sure about my container centering method and I intend to implement this code in the future to make it better.
if you have any tips for me i would be grateful!
@MoshiurRaihan95
Posted
@eduardozamit use flex in the body tag
background-color: var(--light-gray);
font-size: 15px;
font-weight: 400;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh - 1px);
}```
**remove CSS form**
```.container {
margin: 12em auto;
}```