Template:Team:Northwestern/Template/nav
From 2014.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
margin-right: 50px; | margin-right: 50px; | ||
+ | } | ||
+ | /* Carousel base class */ | ||
+ | .carousel { | ||
+ | height: 500px; | ||
+ | margin-bottom: 60px; | ||
+ | } | ||
+ | /* Since positioning the image, we need to help out the caption */ | ||
+ | .carousel-caption { | ||
+ | z-index: 10; | ||
} | } | ||
+ | |||
+ | /* Declare heights because of positioning of img element */ | ||
+ | .carousel .item { | ||
+ | height: 500px; | ||
+ | background-color: #777; | ||
+ | } | ||
+ | .carousel-inner > .item > img { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | min-width: 100%; | ||
+ | height: 500px; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </style> | ||
</style> | </style> |
Revision as of 22:50, 11 September 2014