I've a div called #descr-two and a h2 and p. In css code two rules are used:
#descr-two h2 {color: #323232;}
#descr-two p {color: #323232;}
It works, but my goal is a clean and compact code, this code doesn't work:
#descr-two h2, p {color: #323232;}
Why? Where is the error? Thanks.
#beforedescr-twoin the CSS and in the HTML you should use it likeid="descr-two".ptags you need to include the id identifier#descr-two h2, #descr-two p.