title: Button Class Get not the full length of div?
body: <p>I have tried to give the full length of div . But button could not get the full length . Please help me to fix out the errors.</p>
  
  <pre><code>&lt;div class="col-md-3 col-sm-6 text-center card"&gt;
    &lt;button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal"&gt;  
       &lt;span class="icon"&gt;
          &lt;img src="{{ URL::asset('frontAssets/assets/images/classroutine1.png')}}" 
               alt="Classroutine" style="width:50%; 
               height: 93.3px; padding-top: 15px; padding-bottom: 25px"&gt;
        &lt;/span&gt;
        &lt;div style=" padding-bottom: 10px; padding-top: 20px"&gt;
              &lt;h3&gt;Class &lt;br&gt; Routine&lt;/h3&gt; 
         &lt;/div&gt;
     &lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jCU4O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jCU4O.png" alt="enter image description here"></a></p>