字太多發動省略功能的 CSS 三兄弟


Posted by Rich on 2021-09-12

overflow: hidden; // 超出就隱藏
text-overflow: ellipsis; // 字超出就變 ...
white-space: nowrap; // 好像是不換行?

解釋還不保證 100% 對。但這三個真的好用。










Related Posts

Day 101

Day 101

Azure Functions with Python

Azure Functions with Python

[心得] 滑鼠們2 - Logitech

[心得] 滑鼠們2 - Logitech


Comments