Angel M• 370
@csmurillo
Posted
The way you centered the box is the right way and widely used. In my perspective the CSS code you wrote is good. However I would suggest you use the main tag to wrap the box content.
Marked as helpful
1
Submitted
@rafacostadev
I found difficult to centralize de container with the content, want to know how to do that in the right way. I need to know if my HTML code is on the right way it should be writed. I'm unsure about my CSS code, I think I could've wrote less code. I want to know how can I get my entire code better. And sorry for my bad english.
@csmurillo
Posted
The way you centered the box is the right way and widely used. In my perspective the CSS code you wrote is good. However I would suggest you use the main tag to wrap the box content.
Marked as helpful
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord