Difference between revisions of "Template:TU Delft/Header"
Line 46: | Line 46: | ||
height: 100%; | height: 100%; | ||
} | } | ||
+ | |||
+ | .slider-size { | ||
+ | height: 400px; /* This is your slider height */ | ||
+ | } | ||
+ | .carousel { | ||
+ | width:100%; | ||
+ | margin:0 auto; /* center your carousel if other than 100% */ | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
Line 84: | Line 93: | ||
<div class="carousel-inner" role="listbox"> | <div class="carousel-inner" role="listbox"> | ||
<div class="item active"> | <div class="item active"> | ||
− | + | <div style="background:url(https://static.igem.org/mediawiki/2015/8/8b/TU_Delft_Banner_Team1.jpg) center center; | |
+ | background-size:cover;" class="slider-size"> | ||
<div class="carousel-caption"> | <div class="carousel-caption"> | ||
<h3>TU Delft iGEM Team</h3> | <h3>TU Delft iGEM Team</h3> | ||
<p></p> | <p></p> | ||
</div> | </div> | ||
+ | </div> | ||
</div> | </div> | ||
Line 100: | Line 111: | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Left and right controls--> | <!-- Left and right controls--> | ||
− | <a class="left carousel-control" href=" | + | <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> |
− | <span class="glyphicon glyphicon-chevron-left"></span> | + | <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> |
<span class="sr-only">Previous</span> | <span class="sr-only">Previous</span> | ||
</a> | </a> |
Revision as of 13:44, 9 July 2015