H
H
harutoqsuzyan2022-04-13 13:51:22
css
harutoqsuzyan, 2022-04-13 13:51:22

How can I cut text by line and put 3 dots so that it works on direction:rtl and on safari?

I tried this code:

overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;

It doesn't work when I have direction:rtl.
And this is only a problem on safari.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2022-04-13
@DanArst

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question