Commit 5185a35c1298a66450113fae89a4a3cc33d45a3f
1 parent
e9972803
First attempt of carousel
Showing
4 changed files
with
29 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,29 @@ | @@ -0,0 +1,29 @@ | ||
1 | +<div class="carousel slide" data-ride="carousel"> | ||
2 | + <ol class="carousel-indicators"> | ||
3 | + <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> | ||
4 | + <li data-target="#carousel-example-generic" data-slide-to="1"></li> | ||
5 | + <li data-target="#carousel-example-generic" data-slide-to="2"></li> | ||
6 | + </ol> | ||
7 | + <div class="carousel-inner" role="listbox"> | ||
8 | + <div class="item active"> | ||
9 | + <img src="..." alt="..."> | ||
10 | + <div class="carousel-caption"> | ||
11 | + Cap1 | ||
12 | + </div> | ||
13 | + </div> | ||
14 | + <div class="item"> | ||
15 | + <img src="..." alt="..."> | ||
16 | + <div class="carousel-caption"> | ||
17 | + ... | ||
18 | + </div> | ||
19 | + </div> | ||
20 | + </div> | ||
21 | + <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> | ||
22 | + <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> | ||
23 | + <span class="sr-only">Previous</span> | ||
24 | + </a> | ||
25 | + <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> | ||
26 | + <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> | ||
27 | + <span class="sr-only">Next</span> | ||
28 | + </a> | ||
29 | +</div> |