📜  hover 显示滚动条 css 代码示例

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

代码示例1
div {
  height: 100px;
  width: 50%;
  margin: 0 auto;
  overflow: hidden;
}

div:hover {
  overflow-y: scroll;
}