Created
March 10, 2020 21:12
-
-
Save MarkMYoung/fb4fc8bf55344e34c7df53e1c7b3d2b8 to your computer and use it in GitHub Desktop.
Fill empty (form) space with dots (for visual alignment).
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
/* | |
* @example | |
* <div class="dots-fill"> | |
* <label class="dots-after"></label> | |
* </div> | |
* @see https://stackoverflow.com/a/5476886/1757334 | |
*/ | |
.dots-fill | |
{ | |
overflow:hidden; | |
white-space:nowrap; | |
} | |
.dots-fill .dots-after:after | |
{ | |
content:" ...................................................................................................................................................................."; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment