Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

HTML, CSS, Media Queries, css-variables, css-counter

JanAbe 230

@JanAbe

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Question about styling the numbers in the <ol>. After googling I found out the existence of css counters and ::before I used this to style the numbers of the ordered list.

But how does one make sure the text is wrapped correctly like in the pictures provided by frontendmentor? My text continues underneath the numbers when the text is too long, but i would like it to be the same as in the images provided.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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