Answers for "sticky div with absolute positioning"

2

relative position div is overlapping fixed or sticky header

.nav-bar{
    position:sticky;
    top:0px;
    font-family: Arial, Helvetica, sans-serif;
    border-bottom:solid rgb(179, 173, 173) 1px;
    background-color: rgb(255, 255, 255);
    z-index: 1
}
Posted by: Guest on July-01-2021

Code answers related to "sticky div with absolute positioning"

Browse Popular Code Answers by Language