我想要一个容器,其中有多个垂直图像离开屏幕,可以向上/向下滚动。我还希望隐藏滚动条。这里有一个例子:https://www.calm.com/
有谁知道我怎么做(最好没有JavaScript?)
答案 0 :(得分:0)
试试这个example
#parent{
height: 100%;
width: 100%;
overflow: hidden;
}
#child{
width: 100%;
height: 100%;
overflow-y: scroll;
}