Reputation: 1863
div > a{
}
applies properties to <a>
child. But how can I select any type of element, not just <a>
?
Upvotes: 2
Views: 215
Reputation: 15739
Use the below.
div > * {
Your css attributes should be here
}
Hope this helps.
Upvotes: 2