@correlucas
Posted
๐พHello John, congratulations for your new solution!
Great solution and great design John, something you can improve is the alignment that's not applied in the best way possible, you've used margins
and position relative
/ translate
to give the container its alignment, this works but is really tricky to control all the content. My advice for your is to use flexbox
to create this alignment, make this it with min-height: 100vh
to the body
to make the body display 100% of the viewport height (this makes the container align to the height size thats now 100% of the screen height) size and display: flex
e flex-direction: column
to align the child element (the container) vertically using the body.
โ๏ธ I hope this helps you and happy coding!
Marked as helpful