Hey there, I've been working with Bootstrap's collapsible panel feature and I'm trying to get Font Awesome icons (+ / -) to display based on whether the panel is expanded or collapsed.
I'm not too familiar with using CSS for this kind of customization, but I figure there must be a way...
Here's the HTML structure:
<div class="panel">
<div class="panel-collapse">
<div class="row">
<div class="col-xs-12">
<div class="col-xs-3">
<p>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseContent-1" aria-expanded="false" aria-controls="collapseContent">
<i class="fa fa-plus" aria-hidden="true"></i>
<i class="fa fa-minus" aria-hidden="true"></i>
</button>
</p>
<div class="collapse" id="collapseContent-1">
<div class="card card-body">
One of the collapsible panels content goes here.
</div>
</div>
</div>
<!-- More collapsible panels go here -->
</div>
</div>
</div>
</div>