Countdown Timer

These modular elements can be readily used and customized across pages and in different blocks.


Explore all of Stack’s modular elements
at the Element Index Page →

Countdown

Stack features simple to use countdown timers perfect for timed sales, coming soon pages, product launches etc. The countdown timer works by adding the class .countdown to any empty text or heading element (eg. span, p, h1 etc.) and specifying a date to countdown to with the data-date attribute.

NOTE: The date can be in MM/DD/YYYY format.

Countdown Fallback

Once the timer reaches zero, you can specify some fallback text using the data-date-fallback attribute.