You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1- separator style issue:
From the codepen example, you can see that there are space between the , and the number (99 , 999) this happened because of the width of the first span element.
Suggestion; add a class to the span element and set it's width to 0 to remove the extra spaces between the comma and the number, this will convert the number from 99 , 999 to 99,999
2- counting from negative to positive issue:
From the codepen change the code to
const counter = new CountUp("counter", 5, {
startVal: -1,
plugin: new Odometer({ duration: 2.3, delay: 0 }),
duration: 3.0
});
This will shift the number 5 to the left and add extra 1 empty space the space could be different if you changed the number -1 to -10, this will shift the number 5 to the left by 2 spaces, this happened because the length of the negative number greater than the positive number
The text was updated successfully, but these errors were encountered:
From https://codepen.io/msoler75/pen/NWLzNYj
1- separator style issue:
From the codepen example, you can see that there are space between the , and the number (99 , 999) this happened because of the width of the first span element.
Suggestion; add a class to the span element and set it's width to 0 to remove the extra spaces between the comma and the number, this will convert the number from 99 , 999 to 99,999
2- counting from negative to positive issue:
From the codepen change the code to
This will shift the number 5 to the left and add extra 1 empty space the space could be different if you changed the number -1 to -10, this will shift the number 5 to the left by 2 spaces, this happened because the length of the negative number greater than the positive number
The text was updated successfully, but these errors were encountered: