Submitted over 2 years ago
Responsive landing page using css
@PriyankaArikatla1205
Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
๐พHello Priyanka Reddy, congratulations for your solution!
I liked a lots the gradient effect you did to overlay the image, its amazing!
Look that you container isn't aligned, due the paddings/margins you've add to the container, try to align with flexbox in the body instead, see the code below:
body { min-height: 100vh; background-color: black; display: flex; align-items: center; justify-content: center; } #main { height: 400px; width: 1000px; background-color: red; border-radius: 10px; /* margin: auto; */ /* margin-top: 130px; */ display: flex; }
Hope it helps, happy coding!
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