Design comparison
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 helpful1@gabrielfranosPosted about 1 year ago@77iu Hello Miguel!
Thanks for the help with the centering of the elements! I remade it using the display:flex and align-items properties and its better now!
I'm still learning about media queries so the next step is to make it responsive and create the mobile view correctly!
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