Answers for "how to make a sticky element with css"

CSS
-2

make a div sticky

.fixedElement {
    background-color: #c0c0c0;
    position:fixed;
    top:0;
    width:100%;
    z-index:100;
}
Posted by: Guest on May-11-2020

Code answers related to "how to make a sticky element with css"

Browse Popular Code Answers by Language