Skip to content

Instantly share code, notes, and snippets.

@JaeYeopHan
Created September 12, 2018 02:29
Show Gist options
  • Save JaeYeopHan/7561da38312d88bc767b569ecf86ed16 to your computer and use it in GitHub Desktop.
Save JaeYeopHan/7561da38312d88bc767b569ecf86ed16 to your computer and use it in GitHub Desktop.
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