📜  css 如何使文本不中断 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:29.359000             🧑  作者: Mango

代码示例1
/* If you don't know why your line is breaking or you just want to make sure
this doesn't happen, add the CSS bellow: */
white-space: nowrap;

/* Example: */
/* HTML: */

This is a paragraph

/* CSS: */ p { white-space: nowrap; }