Last active
June 18, 2018 10:18
-
-
Save SimonPadbury/64b2b2051aab76150b7042f4d6a4e221 to your computer and use it in GitHub Desktop.
Responsive container for Bootstrap 4
This file contains hidden or 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
.container-responsive { | |
width: 100%; | |
max-width: 1140px; | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto; | |
} | |
.navbar > .container-responsive { | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-ms-flex-wrap: wrap; | |
flex-wrap: wrap; | |
-webkit-box-align: center; | |
-ms-flex-align: center; | |
align-items: center; | |
-webkit-box-pack: justify; | |
-ms-flex-pack: justify; | |
justify-content: space-between; | |
} | |
.navbar > .container-responsive { | |
padding-right: 0; | |
padding-left: 0; | |
} | |
.navbar > .container-responsive { | |
max-width: 1110px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment