Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

How to fix this code

I found this very helphful article: https://www.studytonight.com/post/how-to-build-an-animated-counter-with-javascript#google_vignette
its working perfect on computer version, but how to fix this so it will look nice on mobile version, how to convert row in to column
Thanks.
by

2 Answers

iamabhishek
I have updated the code example. I have added @media query to provide different styling for screen width 500px or less.

I have used flex-direction property. By default used the flex-direction:row and for small screen size changed it to flex-direction:column for .counter-container class.
z5o51f6
iamabhishek Thank you very much, evericing working perfect, one more question: How i can add symbols with numbers
For exemple i need : 800+ 99% 7+

Login / Signup to Answer the Question.