Skip to content

Instantly share code, notes, and snippets.

@JaeYeopHan JaeYeopHan/util.scss

Created Sep 12, 2018
Embed
What would you like to do?
Utility of scss
// ------------------------------------- //
// Style of Utilities
// ------------------------------------- //
:global(.blind) {
font-size: 0;
height: 0;
left: 0;
line-height: 0;
overflow: hidden;
position: absolute;
top: 0;
visibility: hidden;
width: 0;
}
:global(.clear) {
clear: both;
&::after {
content: ' ';
clear: both;
display: table;
}
}
:global(.transparent) {
box-shadow: none;
background-color: transparent;
border: 0 none;
cursor: pointer;
}
:global(.ellipsis) {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.