Skip to content
Submitted 3 months ago

Meal Recipe Page built using pseudo elements and custom css variables

accessibility, semantic-ui
LVL 1
@wisdomugo
A solution to the Recipe page challenge

Solution retrospective


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

I was able to use the ::before pseudo-element and the content property to add a custom bullet to my list ie <li> of <ul> element. Also used the ::marker pseudo-element to add separate design to the numbering of the li's of an <ol> element. I practically got reasonably conversant with some other pseudo-elements in the course of this project and its interesting. I also used custom css variables to represent some values for eg: the colors I used in the design

What challenges did you encounter, and how did you overcome them?

The seeming challenge I encountered was how to actually style the bullets of list elements with size, color, weight etc different from the styles that the contents of the very li elements have. I searched google and found a way to do it. Quite interesting

What specific areas of your project would you like help with?

Need no help in any area concerning this particular project

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Wisdom Egenuka’s solution.

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