Created
February 26, 2016 10:38
-
-
Save Scretch-1/97dd078ac02ebd1ae99a to your computer and use it in GitHub Desktop.
SCSS Вспомогательные классы
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
.center-block { | |
display: block; | |
margin-right: auto; | |
margin-left: auto; | |
} | |
.pull-right { | |
float: right; | |
} | |
.pull-left { | |
float: left; | |
} | |
//Просто скрытие элемента | |
.hide { | |
display: none; | |
} | |
//Скрытие содержимого элемента | |
.hidden { | |
display: none; | |
visibility: hidden; | |
} | |
//Сделать элемент видимым | |
.show { | |
display: block; | |
} | |
//Заменить текстовое содержимое фоновым изображением (скрывает текстовое содержимое) | |
.text-hide { | |
font: 0/0 a; | |
color: transparent; | |
text-shadow: none; | |
background-color: transparent; | |
border: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment