object(mysqli_result)#13 (5) { ["current_field"]=> int(0) ["field_count"]=> int(25) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } CSS 把文字成一行而不是兩行 - 程序員論壇 - Powered by Discuz!

程序員論壇

標題: CSS 把文字成一行而不是兩行 [打印本頁]

作者: GreenCup    時間: 2020-3-4 16:33
標題: CSS 把文字成一行而不是兩行
CSS getting text in one line rather than two
CSS 把文字成一行而不是兩行

white-space: nowrap;
  1. .garage-title {
  2.     clear: both;
  3.     display: inline-block;
  4.     overflow: hidden;
  5.     white-space: nowrap;
  6. }
複製代碼





歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) Powered by Discuz! X2.5