Issue
<div class="action btn-save">{{'SaveTitle' | translate}}({{row.box.length}})
</div>
.btn-save {
text-decoration: underline;
}
I have above code.. The result of it is: Save(3) with underline for whole but I need underline just for save and I dont want to have underline for (3). would you please help?
Solution
Use a span
(or other HTML tag) to apply styles more specifically.
<div class="action btn-save">
<span class="my-underline">{{'SaveTitle' | translate}}</span>
<span>({{row.box.length}})</span>
</div>
.my-underline {
text-decoration: underline;
}
Answered By - D. Hammaker
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.