Created
December 2, 2016 09:37
-
-
Save anonymous/591c72d84f6d11727dacd2e3b00c8797 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/zawetul
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"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.wrap { | |
display: inline-block; | |
} | |
span { | |
background-color: #eee; | |
} | |
.b { | |
float: right; | |
word-break: break-all; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="wrap"> | |
<span class="b">2222222 2222222 22222222222222 2222222 22222222222222 2222222 22222222222222 2222222 22222222222222 2222222 2222222</span> | |
<span class="a">1111</span> | |
</div> | |
<script id="jsbin-source-css" type="text/css">.wrap { | |
display: inline-block; | |
} | |
span { | |
background-color: #eee; | |
} | |
.b { | |
float: right; | |
word-break: break-all; | |
}</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
.wrap { | |
display: inline-block; | |
} | |
span { | |
background-color: #eee; | |
} | |
.b { | |
float: right; | |
word-break: break-all; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment