I want to add specific style property on all child elements of this .feature-section-heading
class. I know i can do that using below trick
.feature-section-heading > h1 {...}
But above logic will implement on just h1
tag. So is there possible that i can add style property on all child elements? I searched about that and find accepted answer, but it does not work.
.feature-section-heading > * {...}
would apply the style to all immediate children (but there may be a better way to achieve what you are trying to do). The universal selector,*
is not considered efficient css. What is it that you are trying to apply?