Created
February 6, 2017 07:03
-
-
Save EfremovMS/86e91d75e852679a3082f9d0f031db11 to your computer and use it in GitHub Desktop.
CSS container: float
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-right: 15px; | |
padding-left: 15px; | |
width: 100%; | |
max-width: 1170px; | |
} | |
.container__row { | |
margin: 0 -15px; | |
} | |
.container__col { | |
float: left; | |
width: 50%; | |
padding: 0 15px; | |
min-height: 1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment