does anyone know some analogue for css property ellipsys, another way to add 3 dots by overflow, any libraries or something

I know about this one

`#content {
    text-overflow: ellipsis;
    white-spase: nowrap;
    overflow:hidden;
    width: 100px;
}`

and i know about

`#content {
    overflow: hidden;
    width:100px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}`

does anyone know any other way to add 3 dots with overfow, just interesting, maybe some libraries or throu JS, maibe some component libraries have some functionality

search in google, and here`