Design comparison
SolutionDesign
Solution retrospective
I had some issues for centering card in the middle of the screen and for find the card width.
Community feedback
- @LovethrechPosted 11 months ago
To center your card to the screen, all your CSS needs is a 'place-items:center;', 'height:100vh;', 'width:100vw; in your section.container, then you resize the '.card' width and height to something less than that of the container, for example, for the '.card', 'width:60vh; height:70vh;'
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