-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(carousel): added html source code
- Loading branch information
1 parent
5d58cef
commit b5e1a2a
Showing
12 changed files
with
206 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<style> | ||
.autoheight .demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
|
||
.autoheight .demo-slide:nth-child(2n) { | ||
background: linear-gradient(to bottom right, #0e61cd, #5193e9); | ||
height: 500px; | ||
} | ||
</style> | ||
|
||
<div class="autoheight"> | ||
<b-carousel navigation auto-height> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel autoplay autoplay-delay="5000" loop> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel disable-drag navigation> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel slides-per-view="3" gap="50"> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
</b-carousel> | ||
|
||
<b-divider></b-divider> | ||
|
||
<b-carousel slides-per-view="3" disable-fill gap="50"> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel gap="50" slides-per-view="3" loop> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel indicator> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel loop> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel navigation> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<style> | ||
.demo-slide { | ||
height: 300px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: linear-gradient(to bottom right, #5193e9, #0e61cd); | ||
color: #fff; | ||
font-size: 48px; | ||
} | ||
</style> | ||
|
||
<b-carousel slides-per-view="3"> | ||
<div class="demo-slide">1</div> | ||
<div class="demo-slide">2</div> | ||
<div class="demo-slide">3</div> | ||
<div class="demo-slide">4</div> | ||
<div class="demo-slide">5</div> | ||
</b-carousel> |