下面是我想要实现此滚动功能的页面的屏幕截图,因此在此屏幕截图中,我想为蓝线内 div
的给定段落创建此功能
最佳答案
换行
<div id="xyz">
to
<div id="xyz" style="overflow-y: scroll;">
or you can write in your css or style tag in head as
#xyz
{
overflow-y:scroll;
}
This is working for me.
关于javascript - 我想在构建器和该构建器中的 x 轴和 y 轴上制作一个可滚动的 div,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40630050/