title: How to float an icon to the right in materialize css?
body: <p>I am trying to make an icon float to the right-edge of the collapsible header, but it is not working. I used <code>style="float:right"</code>, but the icon stays at the same place. Here is the code:</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-js lang-js prettyprint-override"><code>$(document).ready(function () {
      $('.collapsible').collapsible();
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Course List&lt;/title&gt;
      &lt;!--Import Google Icon Font--&gt;
      &lt;link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"&gt;
      &lt;!-- Compiled and minified CSS --&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css"&gt;
      &lt;!--Let browser know website is optimized for mobile--&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div class="row"&gt;
   &lt;div class="container"&gt;
    &lt;div class="col s8"&gt;
     &lt;ul class="collapsible expandable"&gt;
      &lt;li&gt;
        &lt;div class="collapsible-header"&gt;
          &lt;span&gt;Functions&lt;/span&gt;
          &lt;i class="material-icons blue-text" style="float:right"&gt;add&lt;/i&gt;
        &lt;/div&gt;
        &lt;div class="collapsible-body"&gt;
          &lt;span&gt;Lorem ipsum dolor sit amet.&lt;/span&gt; 
        &lt;/div&gt;
       &lt;/li&gt;
      &lt;/ul&gt;
     &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"&gt;&lt;/script&gt;
  &lt;script src="app.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>