In this example, we will be creating a simple timer with CSS and Javascript
1. Make sure you’ve included Tachyons into your file
add a stylesheet link to your file head
Here you can see its easy!
2. Add the Base HTML
Wherever you want the countdown timer to show up… Add this HTML
Notice you can change COLORS bg-blue
and bg-dark-blue
can be anything you want!
Go Gold, or Red! Any Tachyons Color can be used here.
3. Add the Javascript!
Notice here the date is written in the javascript at 15 days. This needs to be updated in the javascript but its fairly easy to do!
To see a working demo, checkout the Countdown Theme we created!