我正在将引导轮播添加到我的网站。我需要将引导标题放置在图像外部的右侧部分。我做到了,但标题没有随容器调整?如果有人知道如何解决这个问题,那就太好了......
<style>
.img-swap {
cursor: pointer;
}
.content-container:after {
clear: both;
content: "";
display: block;
}
.fullview {
height: 16px;
padding: 0px;
width: 18px;
}
.clean {
background-position: -253px 0;
}
.hide-sidebar { margin-left: -253px; }
.clean { background-position: -253px 0; }
@import url('http://getbootstrap.com/dist/css/bootstrap.css');
.slider-container {
margin-top:35px;
height:100%;
}
.carousel-caption {
position: absolute;
top: 0;
text-align: left;
left: inherit;
right: inherit;
width: 200px;
color:#000;
}
.carousel-caption:not(#caption-0) {
display: none;
}
@media (max-width: 1024px) {
.right-side-content .wrapper { margin-right: 20px; } …Run Code Online (Sandbox Code Playgroud)