Victoria• 80
@victoriacesar
Submitted
The mobile version looks great but with the desktop one i don't know why I couldn't center the container div, well, it upset me a lot, so if anyone knows why it would be great! Some feedback maybe? Thank you!
Looking to hire developers?
@carlosecontrer
@victoriacesar
Submitted
The mobile version looks great but with the desktop one i don't know why I couldn't center the container div, well, it upset me a lot, so if anyone knows why it would be great! Some feedback maybe? Thank you!
@carlosecontrer
Posted
Hi @victoriacesar, Congratulations, it looks great!
In my case I did it using flexbox
and it worked, but I had "problems" with the semantics of the html...
I made my main box a flex container and then aligned and justified the content in the center.
My code was something like this:
container{
display: flex;
align-items: center;
justify-content: center;
}
Maybe this will help you, bye!