Created
September 16, 2014 09:55
-
-
Save joews/23f1c0842c53a254ad4c to your computer and use it in GitHub Desktop.
Less mixins
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
/* | |
* Re-usable Less mixins | |
*/ | |
.ellipsis(@width: 100%) { | |
max-width: @width; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment