DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Style healthy recipe site with css
Heggy Castaneda
Heggy Castaneda

Posted on • Updated on

Style healthy recipe site with css

Recipe site demo

Selector for p that also have a class of '.cook':

p.cook {
  color: green;
}

Select li inside of .ingredients class and style list item differently than its default value: list-style:

.ingredients li {
  list-style: square;
}

Top comments (0)

πŸ‘‹ Hey, my name is Noah and I’m the one who set up this ad. My job is to get you to join DEV, so if you fancy doing me a favor, I’d love for you to create an account.

If you found DEV from searching around, here are a couple of our most popular articles on DEV: