Responsive recipe page using CSS Flex and Grid

Solution retrospective
- Creating multiple lists with custom bullet points, applying common formatting, and then customizing each, as so:
.prep-list-item::before,
.ingredients-list-item::before,
.instructions-list-item::before {
content: "•";
font-size: 1rem;
color: var(--Nutmeg);
}
- Creating the media queries to match the mobile design file.
- Creating the table by using grid in a simple and effective way.
- Grouping up the lists to apply common attributes, before styling them individually. I tried to not repeat myself, but it took longer than writing them separately.
- Tried to create the table using the `` tag, but couldn't add margins and borders at the same time, so I switched to grid
- Figuring out how to follow the mobile design properly, without changing the page structure
- Not sure if it is the best way to implement the mobile design.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @geektim
This is a job well done. I couldn't even space the list-style markers away from the texts, nor could I change the color of the number-type markers from black. Nice work!
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