banner样式

This commit is contained in:
Li Heng 2014-05-28 09:40:39 +00:00
parent cdde57dfb5
commit 0576ec8b2a
1 changed files with 5 additions and 5 deletions

View File

@ -155,14 +155,14 @@ body {
z-index: 10; z-index: 10;
} }
.carousel .item { .carousel .item {
height: 440px; height: 320px;
} }
.carousel img { .carousel img {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
min-width: 100%; min-width: 100%;
height: 440px; height: 320px;
} }
.carousel-caption { .carousel-caption {
background-color: transparent; background-color: transparent;
@ -170,7 +170,7 @@ body {
max-width: 1128px; max-width: 1128px;
padding: 0 20px; padding: 0 20px;
margin-top:380px; margin-top:260px;
} }
.carousel-caption h2, .carousel-caption .lead { .carousel-caption h2, .carousel-caption .lead {
margin: 0; margin: 0;