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

Recipe page

@LegendaryGhost

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I learned how to center the bullet/marker of a list element using the ::before pseudo-element instead

ul {
  list-style: none;
}

ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: var(--medium-spacing);
  padding-left: var(--small-spacing);
}

ul li::before {
  content: '\2B24 ';
  color: var(--brown-800);
  font-size: .3rem;
}

Community feedback

@Tobai24

Posted

You did a good job. it looks similar to the design.

0

@LegendaryGhost

Posted

Thank you, @Tobai24

0

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