【发布时间】:2016-02-03 15:48:45
【问题描述】:
我找到了一个在 div 内旋转图像的 jquery 代码,我想将此 div 定位到页面的中心。我有这个图像的 CSS
#rotating-item-wrapper {
position: relative;
}
这个对于 div
.rotating-item {
display: none;
position: absolute;
top: 150px;
left: 200;
}
我如何设法将整个过程集中到中心?
【问题讨论】: