Centering a Col/Card-panel in materialize
<pre><code>&lt;div class="container"&gt;
&lt;div class="row"&gt;
&lt;div class="col s5 m5 l5"&gt;
&lt;div class="card-panel small blue z-depth-3 center-align"&gt;
&lt;h1&gt; Hello &lt;/h1&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>What i'm trying to do is center the card panel in the column using Materialize's helper class <code>center-align</code> which didn't work, i also tried using that class on the <code>col s5 m5 l5</code> element, which also didn't work</p>

<p>can anyone suggest ways to fix this? even if it has to be CSS</p>

<p><strong>EDIT</strong>: I did try using materialize's offset utility but it just messes up quite alot</p>