From d0df9e46d64f72efb821d4253db75f4cd66876d8 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sun, 14 Dec 2014 08:31:40 -0600 Subject: [PATCH] Added helper classes for floats at various screen sizes --- public/css/helpers.styl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/public/css/helpers.styl b/public/css/helpers.styl index 5dd3e778f0..d9b54a3089 100644 --- a/public/css/helpers.styl +++ b/public/css/helpers.styl @@ -39,3 +39,26 @@ margin-left: auto margin-right: auto +// .pull-right & .pull-left for specific screen sizes +// Follows conventions for col-x-SIZE classes + +@media (min-width: 768px) + .pull-left-sm + float: left + + .pull-right-sm + float: right + +@media (min-width: 992px) + .pull-left-md + float: left + + .pull-right-md + float: right + +@media (min-width: 1200px) + .pull-left-lg + float: left + + .pull-right-lg + float: right