A simple and ugly solution using basic HTML&CSS
Design comparison
Solution retrospective
I had a difficulty with a flex-box, but I think it's normal to have it, so the other thing I had I think is about learning and training a CSS framework.
Community feedback
- @77iuPosted about 1 year ago
Hello, I'm Miguel
So that main or any other element is centered, I suggest the following:
body{ max-width:1440px; height:100vh; display:flex; align-items:center; justify-content:center; }
Tell me if this information was useful to you π.
If you like animated buttons I invite you to visit [https://youtube.com/@77iu-CSS?si=sbpP_EDa8PN6Zvak]
Greetings from Argentina!!πππ
Marked as helpful0@SergioFilho18Posted about 1 year ago@77iu Thanks a lot Miguel, all this informations was useful to me, thanks for helping me π
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
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