Last active
April 2, 2018 08:48
-
-
Save kenng/78cbb0098eff2d43bf4d579fada98808 to your computer and use it in GitHub Desktop.
unselected code snippet
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
<div id="app"> | |
<pre> | |
<li class="line" prefix="127.0.0.1:6379>">exit</li> | |
</pre> | |
</div> | |
<style> | |
#app { | |
padding: 15px; | |
} | |
li { | |
list-style: disc outside none; | |
} | |
pre .line::before { | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
content: attr(prefix); | |
text-align: right; | |
display: inline-block; | |
margin-right: 10px; | |
margin-left: 5px; | |
} | |
.line { | |
padding: 0 !important; | |
list-style-type: none !important; | |
white-space: pre; | |
margin: 0 0 0 -5px !important; | |
line-height: 1.5 !important; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment