Text overflow ellipsis not showing with some custom font

前端 未结 7 810
傲寒
傲寒 2021-01-17 09:08

I\'m currently trying to make a text box with hiding overflowing text. It works fine, but for some part. I\'m using

text-overflow: ellipsis;
<
相关标签:
7条回答
  • 2021-01-17 09:51

    You need to use the following together:

    white-space: nowrap;
    text-overflow: ellipsis;
    
    0 讨论(0)
提交回复
热议问题