Skip to content

Instantly share code, notes, and snippets.

@Scretch-1
Last active February 22, 2018 10:49
Show Gist options
  • Save Scretch-1/f05474520e8652ebb53e to your computer and use it in GitHub Desktop.
Save Scretch-1/f05474520e8652ebb53e to your computer and use it in GitHub Desktop.
.container для фиксированной вёрстки (по аналогии с .container из бутстрапа)
// добавляем в _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