水平和垂直?
我在一个 div 中使用 jquery ui 的可拖动功能,我需要一个大的内部区域来使用。
最佳答案
在可滚动元素上使用 padding
,然后在子元素上使用 margin
。
关于html - CSS、HTML : What's the best way to add space to the inside of a scrollable element?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4245775/