Last active
December 17, 2015 08:38
-
-
Save justincarroll/5581027 to your computer and use it in GitHub Desktop.
This basically fakes a 3-column layout by positioning the middle column (absolutely) and using .pull-right on the last column. The first column, .brand goes unaffected. If you're planning to have a lot of list items in .nav.centered you'll want to tweak this solution with additional styling.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Large desktop down to portrait tablet */ | |
@media (min-width: 979px) { | |
.nav.centered, .nav.centered > li { float: none; } | |
.nav.centered { | |
position: absolute; | |
text-align: center; | |
width: 100%; | |
} | |
.nav.centered > li { display: inline-block; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment