Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
๐พHello Petri, congratulations for your solution!
I've checked your code to understand why the container is creating a right padding and avoiding it to align, and here's the element thats giving this issue:
.box2 { background-color: hsl(225, 100%, 98%); border-radius: 20px; position: relative; /* left: 28px; */ /* width: 315px; */ height: 80px; }
I saw that you've used
id
prefer ever to manage the styling withclass
sinceid
is a specific selector use forforms
andJavascript
.Hope it helps and happy coding!
Marked as helpful0@Peteksi95Posted over 2 years ago@correlucas Thank you for your feedback! So should i mostly just use classes instead of id?
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