<p>101515887-10002990153-1</p>
<p>101515887_10002990153_1</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis nisi eveniet architecto beatae quam, dolor earum provident aut hic modi atque sequi tempora nihil facilis quos deserunt ducimus incidunt unde</p>
<p>Make CSS Ellipsis Beginning of String</p>
<p class="muli-line">Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis nisi eveniet architecto beatae quam, dolor earum provident aut hic modi atque sequi tempora nihil facilis quos deserunt ducimus incidunt unde</p>
html, body {
width: 100%;
height: 100%;
display: flex;
}
p {
width: 300px;
height: 40px;
line-height: 2;
font-size: 20px;
margin: auto;
}
p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
p {
direction: rtl;
// unicode-bidi: bidi-override;
}
.muli-line {
height: unset;
white-space: normal;
overflow : hidden;
text-overflow: ellipsis;
display: box;
line-clamp: 2;
box-orient: vertical;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.