Skip to content

Instantly share code, notes, and snippets.

@Teino1978-Corp
Forked from DeanPoulin/quick-floats.html
Created October 30, 2015 22:42
Show Gist options
  • Save Teino1978-Corp/1bae41fef0de1f3f8dab to your computer and use it in GitHub Desktop.
Save Teino1978-Corp/1bae41fef0de1f3f8dab 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