Responsive layout using HTML, CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @MisterCcobD
Hey buddy, Nicely done and i hope you don't mind, i would add something that has given to me also
body { .../... align-items: center; min-height: 100vh; }
And i would personally remove the margins from either resolutions and maybe try revers the media query with something like
.main-container{ .../... width:75% } @media screen and (min-width: 450px) /* obtional (min-height:450px) */ and (orientation: landscape) .main-container { width: 25%; } ```
Marked as helpful
Join 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