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:

enter image description here

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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -