title: Apply bootstrap on div width change instead of window change
body: <p>I have a div which is expanding dynamically in my project. But I need to apply the bootstrap columns style for expanding div. I was applying based upon the window resize but not div size change.</p>
  
  <p>Here My code was:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;title&gt;Bootstrap Example&lt;/title&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
    &lt;link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"&gt;
  &lt;script&gt;
  $(document).ready(function(){
      $("button").click(function(){
          $("div").width($("div").width()+20);
      });
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/br&gt;
  &lt;div class="container-fluid" style="background-color:orange;width:200px;height:200px;"&gt;
  
      &lt;div class="col-sm-6" style="background-color:lavender;"&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="col-sm-6" style="background-color:lavenderblush;"&gt;
        &lt;p&gt;Sed ut perspiciatis unde omnis &lt;/p&gt;
      &lt;/div&gt;
  
  &lt;/div&gt;
  
  
  &lt;button&gt;expand&lt;/button&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The button expands the div continuesly on each click.</p>
  
  <p>Please help us on this to apply the bootstrap style to the dynamically expanded div.</p>