Sunday, 15 July 2012

html - How to change css of class under specific id -



html - How to change css of class under specific id -

i have html want alter css of active class under abc_7 id.please help me.

<label id="abc_7" data-ng-repeat="cell in timecell" class="btn btn-default btnsmall active" style="width: 77px;"> </label>

i have write

#abc_7 .active{ background-color: greenish !important; }

but not working because find active class in #abc_7 lable please help me.

you're specifying kid instead of element had id , class.

it should be: (note, no space between id , class)

#abc_7.active{ background-color: green; }

html css html5 css3

No comments:

Post a Comment