css - Font Awesome add multiple icons to button -
i have button:
<button type="button" style="margin-bottom: 5px;" class="btn btn-danger btn-default btn-gray btn-primary btn-primary2 btn-success2 btn-warning btn-black btn-success btn_bottom_padding" data-toggle="modal" data-target="#mymodal" data-bind="css: {'btn-gray': isgray(), 'btn-danger': isred(),'btn-success':isgreen(), 'btn-primary': isblue(),'btn-success2':islimegreen(), 'btn-primary2': isskyblue(),'btn-warning':isorange(),'btn-black': isblack(),'btn-default':iswhite()},click:$root.getclick"> <span data-bind="text:shortname()"></span> <span data-bind="visible: isred()" class="fa fa-exclamation-triangle"></span> @*<span data-bind="" class="fa fa-bolt"></span>*@ </button>
the thing wanted add multiple icons like:
i managed add exclamation triangle icon, if tried add 1 neither first 1 not appear. there way can add 4 icons in attached button image?
just add them in separate spans: example
<span class="fa fa-exclamation-triangle"></span> <span class="fa fa-bar-chart"></span> <br> <span class="fa fa-bolt"></span> <span class="fa fa-ban"></span>
Comments
Post a Comment