【发布时间】:2015-09-04 05:56:48
【问题描述】:
所以在旋转木马的右侧有一个白色的缝隙,我想搭上它,但无法弄清楚。如果有人知道如何解决它,那将有很大帮助。我真的不知道出了什么问题,所以我做了一个 Jsfiddle 并在下面添加了 css 代码。感谢您的帮助。
html,
body {
height: 100%;
width: 100%;
margin: none;
padding: none;
}
@media(min-width:767px) {
.navbar {
padding: 20px 0;
-webkit-transition: background .5s ease-in-out,padding .5s ease-in- out;
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
transition: background .5s ease-in-out,padding .5s ease-in-out;
}
.top-nav-collapse {
padding: 0;
}
}
.carousel,
.item,
.active {
height: 100%;
}
.carousel-inner {
height: 100%;
}
.fill {
margin-right: -50px;
width: 100%;
height: 100%;
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.intro-section {
height: 100%;
padding-top: 150px;
text-align: center;
background: #fff;
}
【问题讨论】:
标签: html css twitter-bootstrap carousel