Tear-off
Text
The first number in the text goes on the pad.
Type
Colour
Ground
Motion
days to go
About this effect
Tear-off puts the number in your sentence on a little desk calendar pad: a coloured binding band with two rings across the top, a block of paper under it with the edges of the pages showing, and the number printed big on the top sheet. Then the pages are torn off one at a time, a corner lifting first, the sheet swinging free from the perforation and fluttering away, quickly at first and slower as it nears your number, until the last one comes away and your number is on top.
It counts down to your number by default (made for "12 days to go"), or up to it. The pad is as wide as the widest number it shows, so the sentence never shifts, and screen readers hear the sentence with the final number once. It is HTML and CSS, with a short script that tears each page with the Web Animations API.
Pages sets how many are torn off on the way. It suits countdowns, launches, streaks, advent calendars and anything counted in days.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Playfair Display
- Plays
- Loop, In view, Hover, On load
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading that reads as the sentence with the final number; the pad is hidden from screen readers. Under reduced motion the pad shows the final number and nothing is torn.
Also known as tear off calendar text, countdown animation, days left counter, calendar page flip, day counter text, flip calendar number.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.