Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 593 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 593 Bytes

Countdown timer

A simple countdown timer

l27n0F.gif

Usage:

#load css file
<link rel="stylesheet" href="your-path/countdown.css">
<div class="countdown-timer" data-endtime="yourDateString" 
  data-title="yourTitle" data-description="yourDescription"></div>
#load js file
<script src="your-path/countdown.js"></script>
<script>
  #init countdown
  initCountdown('.countdown-timer');
</script>