首页 > 为什么左右切换按钮的top 50%是相对于body而不是他的父级slideshow-container?

为什么左右切换按钮的top 50%是相对于body而不是他的父级slideshow-container?

http://sandbox.runjs.cn/show/...

为什么左右切换按钮.prev, .next 的top 50%是相对于body而不是他的父级slideshow-container?为什么包含块是body?


已测试,不存在你说的问题,请给出浏览器版本。


父级.slideshow-container设置为position: relative;而.prev, .next设置为position: absolute;定位方式肯定是.slideshow-container呀~~~~

【热门文章】
【热门文章】