0
Styling all anchor tags in a particular DIV
I've the below code. I want to apply this color(#0099FF) code to all 3 anchor tags that are descendant of a particular DIV tag. <!-- HTML CODE Start --> <div class="post-body post-content"> <a href="#">Link_1</a> <a href="#">Link_2</a> <div> <a href="#">Link_3</a> </div> </div> <!-- HTML CODE End --> Please provide css styles. Thanks!
1 ответ
+ 1
.post-content a{
color:#0099FF;
}