Home › Forums › CSS › How to override css styles under a single class › Re: How to override css styles under a single class
October 10, 2011 at 7:14 pm
#88833
joshuanhibbert
Member
Use the following (replace colors as required):
.details h3 {
color: #06c;
}
.details p {
color: #333;
}
There is no need to use pseudo-classes (like first-child) or JavaScript for this simple problem.