16 Replies
this is my work :

the problem is center the number inside the div
my code:
the css:
when I do
I get this

thanks for any answer can help me to fix this problem
complete code https://pastebin.com/pY3kUBxy
Pastebin
,::before,*::after{ box-sizing: border-box; margin: 0; p...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
What are you trying to achieve?
Why are you using position:sticky?
this is what I want achieve
As far as I can tell you don't need to use sticky for any of that š¤
I try fixed
defintatly not fixed
absolute
is what you need here
sticky is if you want the element to stay in place whilst it's parent scrolls (and is in view)thanks
problem solved
tell me are you a new membe
or the Chris I know here
you get a work
Iām the same Chris as always š
WOW long time
what news
?
Not much really. Back-end coding during the day (work) and front-end fun in the evening (hobby) š I try to help out here when I can.