Summary Files Commits Branches @commit @diff @stats
path: root / docs / experimentals.html
diff options
context:
space:
mode:
Commit012f0dc6d171b714d3a036d955546285f00453e4 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-07 20:57:36 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-03-07 20:57:36 +0800
Filesf2782bfce63b58c421dbc47e26cd6ed6742b4021 /docs/experimentals.html
Spectre-Dark-Gruvbox-012f0dc6d171b714d3a036d955546285f00453e4.tar
Spectre-Dark-Gruvbox-012f0dc6d171b714d3a036d955546285f00453e4.tar.gz
Spectre-Dark-Gruvbox-012f0dc6d171b714d3a036d955546285f00453e4.zip
Parent62deefc5a9d6de68e285e8615259a61dc99f1fc3 (diff)
Add Carousels previous and next buttons
1 files changed, 29 insertions, 5 deletions
-rw-r--r--docs/experimentals.html34
diff --git a/docs/experimentals.html b/docs/experimentals.html
index 0c8dc7c..53fd840 100644
--- a/docs/experimentals.html
+++ b/docs/experimentals.html
@@ -213,9 +213,6 @@
<a class="calendar-event" href="#calendars" style="background:#5764c6;color:#fff;">Product launch event</a>
<a class="calendar-event" href="#calendars" style="background:#5764c6;color:#fff;">Lunch</a>
<a class="calendar-event" href="#calendars" style="background:#e85600;color:#fff;">International Women's Day</a>
- <a class="calendar-event" href="#calendars" style="background:#5764c6;color:#fff;">Product launch event</a>
- <a class="calendar-event" href="#calendars" style="background:#5764c6;color:#fff;">Lunch</a>
- <a class="calendar-event" href="#calendars" style="background:#e85600;color:#fff;">International Women's Day</a>
</div>
</div>
<div class="calendar-date current-month"><button class="date-item">9</button></div>
@@ -258,26 +255,53 @@
<section id="carousels" class="container">
<header class="text-center"><h3>Carousels</h3></header>
<section class="notes">
- <p><strong>Carousels</strong> are slideshows for cycling images. It is built in pure CSS and not perfect.</p>
+ <p><strong>Carousels</strong> are slideshows for cycling images. It is built in pure CSS.</p>
</section>
<div class="columns text-center">
<div class="column col-12">
- <div class="carousel">
+ <div class="carousel carousel-autoplay">
<input type="radio" id="slide-1" name="carousel-radio" class="carousel-locator" checked>
<input type="radio" id="slide-2" name="carousel-radio" class="carousel-locator">
<input type="radio" id="slide-3" name="carousel-radio" class="carousel-locator">
<input type="radio" id="slide-4" name="carousel-radio" class="carousel-locator">
<div class="carousel-container">
<figure class="carousel-item">
+ <label class="item-prev btn btn-action btn-lg" for="slide-4">
+ <i class="icon icon-keyboard_arrow_left"></i>
+ </label>
+ <label class="item-next btn btn-action btn-lg" for="slide-2">
+ <i class="icon icon-keyboard_arrow_right"></i>
+ </label>
<img src="img/osx-yosemite.jpg" class="img-responsive rounded" alt="macOS Yosemite Wallpaper" />
</figure>
+
<figure class="carousel-item">
+ <label class="item-prev btn btn-action btn-lg" for="slide-1">
+ <i class="icon icon-keyboard_arrow_left"></i>
+ </label>
+ <label class="item-next btn btn-action btn-lg" for="slide-3">
+ <i class="icon icon-keyboard_arrow_right"></i>
+ </label>
<img src="img/osx-yosemite-2.jpg" class="img-responsive rounded" alt="macOS Yosemite Wallpaper" />
</figure>
+
<figure class="carousel-item">
+ <label class="item-prev btn btn-action btn-lg" for="slide-2">
+ <i class="icon icon-keyboard_arrow_left"></i>
+ </label>
+ <label class="item-next btn btn-action btn-lg" for="slide-4">
+ <i class="icon icon-keyboard_arrow_right"></i>
+ </label>
<img src="img/osx-el-capitan.jpg" class="img-responsive rounded" alt="macOS Yosemite Wallpaper" />
</figure>
+
<figure class="carousel-item">
+ <label class="item-prev btn btn-action btn-lg" for="slide-3">
+ <i class="icon icon-keyboard_arrow_left"></i>
+ </label>
+ <label class="item-next btn btn-action btn-lg" for="slide-1">
+ <i class="icon icon-keyboard_arrow_right"></i>
+ </label>
<img src="img/osx-el-capitan-2.jpg" class="img-responsive rounded" alt="macOS Yosemite Wallpaper" />
</figure>
</div>