Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Flipclock Timer Customization"
Bootstrap 4.0.0 Snippet by
mjnprojecttesting
4.0.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
9.4K
 
6 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flipclock/0.7.8/flipclock.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/flipclock/0.7.8/flipclock.js"></script> <h1>Flipclock Timer Customization</h1> <div class="clock" style="margin:2em;"></div> <div class="clock2" style="margin:2em;"></div> <div class="message"></div>
.flip-clock-wrapper ul li a div.down{ border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; } .clock.flip-clock-wrapper ul li a div div.inn{ font-size: 11px !important; line-height: 25px !important; } ul.flip { padding: 0px 10px !important; } .clock.flip-clock-wrapper ul{ width: 15px !important; height: 25px !important; } .clock.flip-clock-wrapper ul li a div.up:after{ top: 12px !important; } .flip-clock-wrapper ul.flip.flip:nth-child(even){ margin: 0px 10px 0px 0px !important; border-radius: 0px 6px 6px 0px !important; } .flip-clock-wrapper ul.flip:nth-child(even) li a div div.inn{ background-color: #ff7c0c !important; border-radius: 0px 6px 6px 0px !important; } .flip-clock-wrapper ul.flip.flip:nth-child(odd){ margin: 0px !important; border-radius: 6px 0px 0px 6px !important; } .flip-clock-wrapper ul.flip:nth-child(odd) li a div div.inn{ background-color: #f39a3f !important; border-radius: 6px 0px 0px 6px !important; }
var clock; $(document).ready(function() { var clock; clock = $('.clock').FlipClock({ clockFace: 'HourlyCounter', autoStart: false, callbacks: { stop: function() { $('.message').html('The clock has stopped!') } } }); clock.setTime(180); clock.setCountdown(true); clock.start(); var clock2; clock2 = $('.clock2').FlipClock({ clockFace: 'HourlyCounter', autoStart: false, callbacks: { stop: function() { $('.message').html('The clock has stopped!') } } }); clock2.setTime(180); clock2.setCountdown(true); clock2.start(); $( "span.flip-clock-divider" ).remove(); });
Related:
See More
Free Template
Paper Kit
173.3K
165
Carousel with Timer and Caption
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76