Issue
<div class='someClass'>
<label ng-repeat="item in itemList">
<input type='checkbox' checklist-model='itemCheckList' checklist-value='item.name'>
<span class='label-text' ng-bind-html="item.name"></span>
</label>
</div>
Trying to figure out how to change the text to bold when the checkbox is checked and not bold when unchecked. Thanks in advance!
Solution
Attached this to my styling and it worked.
input[type=checkbox]:checked + span.label-text{
font-weight: bold;
}
Answered By - Andrew Chu
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.