📜  css 如果溢出则显示滚动条 - CSS 代码示例

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

代码示例1
/*You can automatically show a scrollbar IF there is overflow with  this: */
body {
  overflow:auto;
}
/*If you want to always show a scrollbar, use this: */
body {
  overflow:scroll;
}