Last active
February 22, 2018 10:49
-
-
Save Scretch-1/f05474520e8652ebb53e to your computer and use it in GitHub Desktop.
.container для фиксированной вёрстки (по аналогии с .container из бутстрапа)
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
// добавляем в _base.sass, _base.scss | |
.containers | |
width: $length | |
margin-right: auto | |
margin-left: auto | |
padding-left: 15px | |
padding-right: 15px | |
&:before | |
content: " " | |
display: table | |
&:after | |
content: " " | |
display: table | |
clear: both | |
// Добавляем в _vars.sass, _vars.scss настраиваем в случае с применением стиля .containers для статичной сетки | |
$length: 1250px |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment