@correlucas
Posted
πΎHello DarkDev, congratulations for your new solution!
Another great solution! I think you;ve done pretty much anything, the design is perfect and the rest too. Something you can improve is the vertical alignment in the desktop version thats more aligned top than center.
See how can you fix this issue of the alignment with min-height: 100vh
and the flex
properties:
}
body {
min-height: 100vh;
width: 100%;
background-color: var(--violet);
display: flex;
align-items: center;
justify-content: center;
}
π I hope this helps you and happy coding!
Marked as helpful
@dotfivesix
Posted
@correlucas Thanks for appreciating my work.
The idea of min-height: 100vh
in body tag is great, this technique is amazing, I couldn't think about this. It really helped me a lot, thanks again !