title: How to change (-,+) symbol with a button Bootstrap Accordion?
body: <p>I have created a boostrap 4 accordion menu with + and - symbol. The symbol changes as it is collapsed and uncollapsed.</p>
  
  <p>I add the symbol with :after</p>
  
  <p>However I would like to replace it with a button rather than a '-,+' symbol.
  So that there will be 2 buttons for me and it will be like "See more","See less" ( It can be same button with different text and background ) and change as I click</p>
  
  <p>I couldn't figure it out.</p>
  
  <p>My code and demo : <a href="https://www.codeply.com/go/sOps2WhtG5" rel="noreferrer">https://www.codeply.com/go/sOps2WhtG5</a></p>
  
  <pre><code>&lt;div class="container"&gt;
  &lt;div id="accordion" class="accordion"&gt;
      &lt;div class="card mb-0"&gt;
          &lt;div class="card-header collapsed" data-toggle="collapse" href="#collapseOne"&gt;
              &lt;a class="card-title"&gt;
                  Item 1
              &lt;/a&gt;
          &lt;/div&gt;
          &lt;div id="collapseOne" class="card-body collapse" data-parent="#accordion" &gt;
              &lt;p&gt;Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt
                  aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat
                  craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
              &lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="card-header collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"&gt;
              &lt;a class="card-title"&gt;
                Item 2
              &lt;/a&gt;
          &lt;/div&gt;
          &lt;div id="collapseTwo" class="card-body collapse" data-parent="#accordion" &gt;
              &lt;p&gt;Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt
                  aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat
                  craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
              &lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="card-header collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree"&gt;
              &lt;a class="card-title"&gt;
                Item 3
              &lt;/a&gt;
          &lt;/div&gt;
          &lt;div id="collapseThree" class="collapse" data-parent="#accordion" &gt;
              &lt;div class="card-body"&gt;Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt
                  aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. samus labore sustainable VHS.
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>My css</p>
  
  <pre><code>.accordion .card-header:after {
      font-family: 'FontAwesome';  
      content: "\f068";
      float: right; 
  }
  .accordion .card-header.collapsed:after {
      /* symbol for "collapsed" panels */
      content: "\f067"; 
  }
  </code></pre>