How to make a sticky or floating position using css

To create a sticky or floating position of a box/div use below css

For Oxygen Builder paste the css at Custom CSS

#XXXXX   {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding-top: 20px;
}
Copyright © 2023 Siam Naulak.
magnifiercrossmenu