title: bootstrap 4 horizontal alignment of toggle fails
body: <p>I am using a toggle element of Material Design Lite in my Bootstrap 4 framework and am unable to align the element to the right side of the column. </p>
  
  <p>Note the "float-right" class works just fine for the Bootstrap element (button). I also tried applying the "text-right" class to the container, as well as justify-content-end, justify-content: flex-end, pull-right, etc... nothing works.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://code.getmdl.io/1.3.0/material.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" /&gt;
  &lt;link href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css" rel="stylesheet" /&gt;
  
  &lt;body&gt;
    &lt;div class="container"&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-8"&gt;Text row 1&lt;/div&gt;
        &lt;div class="col-4 float-right"&gt;
          &lt;label class="mdl-switch mdl-js-switch mdl-js-ripple-effect float-right" for="switch-1"&gt;
              &lt;input type="checkbox" id="switch-1" class="mdl-switch__input float-right" checked&gt;
            &lt;/label&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-8"&gt;Text row 2&lt;/div&gt;
        &lt;div class="col-4 float-right"&gt;
          &lt;button type="button" class="btn btn-primary float-right"&gt;Submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I align the element to the right side of the column? For the context I am trying to get a layout similar to the settings in chrome (text left aligned, toggle right aligned):</p>
  
  <p><a href="https://i.stack.imgur.com/pBrdG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pBrdG.png" alt="enter image description here"></a></p>