Four card feature

Please log in to post a comment
Log in with GitHubCommunity feedback
- @grace-snow
Hello
This looks good
Here are some small suggestions:
/* style.css | https://giulo25.github.io/Four-card-feature-section/style.css */ main { /* padding: 8rem 16rem; */ padding: 1rem; } .text { /* max-width: 50rem; */ max-width: 50ch; note: good to put max width in ch for text content like this where the purpose is to prevent line length getting too long for readability } .cards { /* grid-template-rows: 1fr 1fr; */ /* max-width: 120rem; */ grid-template-rows: auto; max-width: 100rem; // or whatever the grid max width should be margin: auto; } .img img { note: decorative images should have empty alt value; note: img in html should have width and height attributes for better performance; }
Marked as helpful
Join 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