Please say there’s a simpler/shorter way to write this CSS:
.ads h3{
color: #f7f7f7;
}
.ads p{
color: #f7f7f7;
}
.ads blockquote{
color: #f7f7f7;
}
It’s a right pain at the moment and takes up space in the CSS file…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
God says: “Yes”
“Your prayers have been answered my child”
And even taking it further (if there are no child elements which should not be colored as well):
And if you’re OK with the text inside the paragraph itself to also have this same gray color:
This will be overridden by any other styles that have been set on p, blockquote or h3, so you might want to take it further: