Skip to content

Instantly share code, notes, and snippets.

@MohamedRajabMohammed
Created July 21, 2020 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MohamedRajabMohammed/22bf88e613aee69d61aa47b4abbbd773 to your computer and use it in GitHub Desktop.
Save MohamedRajabMohammed/22bf88e613aee69d61aa47b4abbbd773 to your computer and use it in GitHub Desktop.
Positioning the Countdown and Numbers
.countdown {
position: relative;
display: block;
text-indent: -9999px;
overflow: hidden;
margin-left: 6px;
}
.numbers {
position: absolute;
top: 0;
left: 0;
text-align: center;
transition: 0.3s ease transform;
text-indent: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment