王筝的博客
ruby学习

<td style=”width:120px; word-break: break-all;”><%= switch.download_url %></td>

word-break
overflow-wrap
word-wrap
参考:
  1. 你真的了解word-wrap和word-break的区别吗?
  2. Difference between overflow-wrap and word-break
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis
参考:
  1. CSS基础:text-overflow:ellipsis溢出文本显示省略号的详细方法
  2. MDN text-overflow