Skip to content

Instantly share code, notes, and snippets.

Created December 2, 2016 09:37
Show Gist options
  • Save anonymous/591c72d84f6d11727dacd2e3b00c8797 to your computer and use it in GitHub Desktop.
Save anonymous/591c72d84f6d11727dacd2e3b00c8797 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/zawetul
<!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>
.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