Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在主题上向下移动幻灯片,但无法识别 CSS 标签,当我键入以下 css 时,它会推送图像而不是实际的幻灯片位置:
.newcastle-carousel img { margin-top: 100px; }
希望你能帮忙。
你很接近......将边距添加到父div,而不仅仅是img......
img
.newcastle-carousel-wrapper{ margin-top: 100px; }
.newcastle-carousel-wrapper { margin-top: 100px; }