One often gets inspired by some people’s fashion looks. The demeanor in which they carry themselves is loaded with fascination. […]
Animated number counters are seen on many landing pages. They bring a cool effect (movement) to the page and convey some important information or quick facts in numbers.
There are limitless ways to put the number counters to use. Could be projects done, clients, staff, lines of code, etc.
We used 4 animated number counters in Oxygen, when redesigning our landing page for PIT Designs & Consultancy - Melbourne Web Design.
So let's get started with a step by step tutorial on how to create this cool element in Oxygen, using JS and CSS for styling.
Creating animated number counters in Oxygen, using JS & CSS
Table of Contents
Add Counter-Up JS
Include Both JS in Code Box
Add Code block in Oxyge, in the HTML section, add two external JS links. First is the one you uploaded from step one.
The second is this
jQuery to Trigger the Effect
This jQuery basically calls the counter up script we added in step one. Which makes the whole thing work.
Add the Numbers
At this point, we have the scripts ready to animate number counters. All that's left is adding a text element, and writing the number we want in.
Add text element, and give it a class of fancycount. as shown in the above image.
Duplicate the text element, for as many times as you want, edit each text with a different number. And style it as you wish with CSS.
since you will be using the same class for all text elements, styling one of them, will apply to all.
For any further questions, leave a comment below.
These days building apps is on the high rise for both enterprises and non-programmers without any engineering efforts. In other […]
Relocating a commercial space or an office is not everyone's cup of tea. It involves a lot of technicalities and […]
It’s a well-known fact that both paid and organic media strategies can bring a certain level of success, but even […]
As a business owner, you should always be looking for ways to build up your reputation and brand authority. Having […]
Every business needs to manage money effectively well to be profitable, but non-profits need to be even more diligent due […]
Table of Contents Introduction:1: Powerlessness. 2. Install Plugins Selectively 3. Use proper Designs 4. Utilize HTML5 5. Make Your Route Simple & Obvious 6. Basic […]