@77iu
Posted
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 helpful
@gabrielfranos
Posted
@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!