我设置了carousel盒子的高度后却不能跟着图片一起缩放,这是为什么???
图片宽高800*360html>
Bootstrap 101 Templatebody{
padding-top: 50px;
}
.carousel{
height: 360px;
/*height: auto;*/
background-color: #000000;
}
.carousel .item{
/*height: auto;*/
height: 360px;
background-color: #000000;
}
.carousel img{
/*height: 360px;*/
width: 100%;
}
Toggle navigation
导航栏
栏目3
- Action
- Another action
- Something else here
- Separated link
- One more separated link
- 栏目2
栏目3
- Action
- Another action
- Something else here
- Separated link
- One more separated link
Submit
- Link
Dropdown
- Action
- Another action
- Something else here
- Separated link
Previous
Next