Design comparison
Solution retrospective
I'm proud of how i was able to overcome the challenge using HTML and CSS.
What challenges did you encounter, and how did you overcome them?I really face i serious challenge while styling the , and i was not able to style the number list separately , i'll be happy to get any feedback or quid.
What specific areas of your project would you like help with?I'll like to get help on how to style number list.
Community feedback
- @beowulf1958Posted about 1 month ago
Congratulations on completing this challenge! Your webpage looks great both desktop and mobile. Your code is clean and uncluttered, and your styles are well organized.
The style you are looking for is the ::marker pseudo-element. This pseudo-element allows us to style the bullets in ul and numbers in ol. This article explains in all in detail. Try this:
.child-1 ::marker { color: var(--rose800); } .child-2 ::marker, ol ::marker { color: var(--brown800); font-weight: bold; }
Hope this helps.
Marked as helpful0@Jamal-DigitalPosted about 1 month ago@beowulf1958 Thanks so much, I think I learn a new thing now lol
0
Please log in to post a comment
Log in with GitHubJoin 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