Is there a way to apply styles to an element and its descendants? For example:
.datepick-month-header, .datepick-month-header select, .datepick-month-header input {
background-color: black;
color: #fff;
font-weight: bold;
}
In some less documentation, I came across nested styles that work well, but I need to target both the parent and the descendants.
.datepick-month-header {
select, input { // this will select "select" and "input"
}
}
How can I style all three elements (parent and children) in one declaration?
Thank you