Submitted about 1 year ago
Newsletter-Sign-Up-With-Success-Message-Main
@Manohar773
Design comparison
SolutionDesign
Solution retrospective
While Solving this Begginer's may face problems in placing the content inside the cart ....for that use display: flex , justify- content : center , align-items : center, min-height : 100vh.
body { font-family: MyFont; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: hsl(234, 29%, 20%); } By putting width into 90% we can get the web-page mobile-screen size. form { width: 90%; }
By this we will declare the screen size max-width:768px
@media (max-width: 768px) { .card { flex-direction: column-reverse; width: 95%; padding: 0; }
Community feedback
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