Created
July 13, 2015 15:33
-
-
Save anonymous/c0e84270508bfc2ccb3f to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/kawawi
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
ul { | |
width: 180px; | |
} | |
li { | |
width: 100%; | |
text-align: justify; | |
list-style: none; | |
} | |
li::after { | |
display: inline-block; | |
content: ''; | |
overflow: hidden; | |
width: 100%; | |
height: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<ul> | |
<li>这是比较长的一个设置</li> | |
<li>设置</li> | |
<li>中等长度的设置</li> | |
</ul> | |
<script id="jsbin-source-css" type="text/css">ul { | |
width: 180px; | |
} | |
li { | |
width: 100%; | |
text-align: justify; | |
list-style: none; | |
} | |
li::after { | |
display: inline-block; | |
content: ''; | |
overflow: hidden; | |
width: 100%; | |
height: 0; | |
}</script> | |
</body> | |
</html> |
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
ul { | |
width: 180px; | |
} | |
li { | |
width: 100%; | |
text-align: justify; | |
list-style: none; | |
} | |
li::after { | |
display: inline-block; | |
content: ''; | |
overflow: hidden; | |
width: 100%; | |
height: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment