Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Last active January 2, 2016 22:19
Show Gist options
  • Save DeanPoulin/8368867 to your computer and use it in GitHub Desktop.
Save DeanPoulin/8368867 to your computer and use it in GitHub Desktop.
Quick Floats
<div class="pull-left">...</div>
<div class="pull-right">...</div>
<!-- Classes -->
<style type='text/css'>
.pull-left {
float: left !important;
}
.pull-right {
float: right !important;
}
// Usage as mixins
.element {
.pull-left();
}
.another-element {
.pull-right();
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment