Created
September 25, 2014 17:02
-
-
Save iaian/e67e02ef7480b244d1fc to your computer and use it in GitHub Desktop.
Container css from bootstrap
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
.container { | |
margin-right:auto; | |
margin-left:auto; | |
padding-left:15px; | |
padding-right:15px | |
} | |
.container:after, .container:before { | |
content:" "; | |
display:table | |
} | |
.container:after { | |
clear:both | |
} | |
@media (min-width:768px) { | |
.container { | |
width:750px | |
} | |
} | |
@media (min-width:992px) { | |
.container { | |
width:970px | |
} | |
} | |
@media (min-width:1200px) { | |
.container { | |
width:1170px | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment