div {
word-break: keep-all;
word-wrap: break-word;
}
p{
word-wrap: break-word;
}
word-break: break-all;
p {
width: 63px;
word-break: break-word; }
/* Keyword values */
word-break: normal;
word-break: break-all;
word-break: keep-all;
word-break: break-word; /* deprecated */
/* Global values */
word-break: inherit;
word-break: initial;
word-break: revert;
word-break: revert-layer;
word-break: unset;
just take a second to appreciate the beautiful symmetry of this property: value pair.
<div style="width: 100px;border: 1px solid red">
<ol class="test"><li>wrapwraaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaap</li></ol>
</div>
<br><br><br>
it's Working Fine
<br><br>
<div style="width: 100px;border: 1px solid red">
<ol class="test"><li style="word-break: break-all;">wrapwraaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaap</li></ol>
</div>
Run code snippet
Code Example |
---|
Css :: css mauszeiger ändern |
Css :: css stripes |
Css :: css text overflow |
Css :: css floating div |
Css :: how to make a game engine |
Css :: box glow css |
Css :: how to resize img in css |
Css :: html disabled button hover style |
Css :: make the first item at the very top of the screen |
Css :: css cursor delete |
Css :: Input with File type css override |
Css :: add background image in css |
Css :: background position |
Css :: remove link style |
Css :: css to increase font size |
Css :: css create sidebar |
Css :: create circle border css |
Css :: jest afterAll |
Css :: DOM element add multiple attributes |
Css :: calc css float to procent |
Css :: twig inline css |
Css :: php executable not found. install php 7 and add it to your path |
Css :: facebook box-shadow css |
Css :: css materialize |
Css :: z-index |
Css :: how to override material ui css |
Css :: animate.css |
Css :: what is the animation property in html and css |
Css :: css two classes together |
Css :: unhover animation |