Last active
August 29, 2015 14:16
-
-
Save astik/0fc08e8e138f1b4886eb to your computer and use it in GitHub Desktop.
word wrap
This file contains hidden or 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
/** | |
* word wrap | |
*/ | |
.container { | |
background: rgba(2500, 150, 0, 0.5); | |
padding: 10px; | |
margin: 0 auto; | |
width: 180px; | |
margin:0 auto; | |
} | |
.nicely-breaked-word { | |
-ms-word-break: break-all; | |
word-break: break-all; | |
-webkit-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
//overflow-wrap: break-word; | |
//word-wrap: break-word; | |
} |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<div lang="fr"> | |
<div class="container nicely-breaked-word"> | |
Bienvenue sur le nouvel intranet ! | |
</div> | |
</div> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment