gpt4 book ai didi

html - 消除滚动条

转载 作者:行者123 更新时间:2023-11-28 16:30:13 25 4
gpt4 key购买 nike

这是我试图从 http://tubagency.com/ 中删除滚动条的网站

我有这个图片代码:

.pic {
position: relative;
overflow: hidden;
margin: 10px;
display: table-cell;
animation: anima 2s;
-webkit-animation: anima 2s;
-ms-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

.pic-image {
-webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
height:67%;
}

看看滚动条是怎么出现的,我要的是静态页面。这怎么可能实现?谢谢。

最佳答案

body {
overflow:hidden;
}

通过将此添加到正文元素,从页面中删除滚动条的滚动条。如果那是您在问题中的意思。

关于html - 消除滚动条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38310405/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com