Skip to content

Instantly share code, notes, and snippets.

@counterflow
Created November 16, 2016 22:25
Show Gist options
  • Save counterflow/51d4482be71b78cb0c1e06c01142b0fa to your computer and use it in GitHub Desktop.
Save counterflow/51d4482be71b78cb0c1e06c01142b0fa to your computer and use it in GitHub Desktop.
Responsive Bootstrap Pull classes
.pull-right-xs {
@media screen and (max-width: 767px) {
float: right !important;
}
}
.pull-right-sm {
@media screen and (min-width: 768px) {
float: right !important;
}
}
.pull-right-md {
@media screen and (min-width: 992px) {
float: right !important;
}
}
.pull-right-lg {
@media screen and (min-width: 1200px) {
float: right !important;
}
}
.pull-left-xs {
@media screen and (max-width: 767px) {
float: left !important;
}
}
.pull-left-sm {
@media screen and (min-width: 768px) {
float: left !important;
}
}
.pull-left-md {
@media screen and (min-width: 992px) {
float: left !important;
}
}
.pull-left-lg {
@media screen and (min-width: 1200px) {
float: left !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment