How to make position:sticky work? #5321
-
I'm trying to use the bootstrap I want to do something similar like the item1 in this example, don't need the remaining stacking of the example... Does anyone tried that anytime and had the same issue? Is there a work around to make it work? Or i have no option to make it sticky? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@rica-carv not tested, but this explanation makes more sense what happens ( i guess), in regards of the earlier mentioned. |
Beta Was this translation helpful? Give feedback.
-
I just tested it on my site - boostrap 5 |
Beta Was this translation helpful? Give feedback.
I just tested it on my site - boostrap 5
It works normally or I don't understand where problem is. It has to be used on block element (div)
I changed top value to stick it under header.