Design comparison
Community feedback
- @HassiaiPosted almost 2 years ago
There is no need tto give the main and section a class in order to style . There is no need for the section tag in this design in the css use main instead of using .container To center a content on a page specify these in the body{min-height: 100vh; display: flex; justify-content: center; align-items:center;} in the main yo geive a color of white and a padding value: main{ backgroung-color: hsl(); padding: 1em}. Use rem or em as unit for the width, padding , height and margin value , check out this video for more https://youtu.be/pKX7YnkyR8g Remove the fontsize of description p. give the description a padding top and bottom value not padding left and right value. The text-align for description h1 is justify. the text-align for description p is center. Hope am helpful, HAPPY CODING
Marked as helpful1
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