siimple css v3.3.1 GitHub Examples Home
Align elements in your website
Added in v3.1.0
Use siimple--float-left to float content to the left, siimple--float-right to float content to the right and siimple--float-none to don't float the content.
Left aligned content

Right aligned content

No float
<div class="siimple--float-left">Left aligned content</div><br>
<div class="siimple--float-right">Right aligned content</div><br>
<div class="siimple--float-none">No float</div>
Clear all floats adding siimple--clearfix to the parent element.
<div class="siimple--clearfix">
    <div class="siimple--float-left">Left</div>
    <div class="siimple--float-right">Right</div>
Found a mistake or want to help improve this documentation? Suggest changes.