1.cut-text {
2 text-overflow: ellipsis;
3 overflow: hidden;
4 white-space: nowrap;
5}
1.cut-text {
2 text-overflow: ellipsis;
3 overflow: hidden;
4 width: 160px;
5 height: 1.2em;
6 white-space: nowrap;
7}
8<div class="cut-text">
9I like big butts and I can not lie.
10</div>