<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
.inner{
width: 200px;
height: 200px;
border: 1px solid #000000;
overflow-x: hidden;
}
.inner::-webkit-scrollbar {
display: none;
}
</style>
</head>
<body>
<div class="inner">
<p>王小</p>
<p>王小</p>
<p>王小</p>
<p>王小</p>
<p>王小</p>
<p>王小</p>
<p>王小</p>
</div>
</body>
</html>
隐藏式滚动条但有滚动效果
最新推荐文章于 2022-09-22 15:41:16 发布