Created
September 12, 2018 02:29
-
-
Save JaeYeopHan/7561da38312d88bc767b569ecf86ed16 to your computer and use it in GitHub Desktop.
Utility of scss
This file contains 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
// ------------------------------------- // | |
// 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