#header {
position: sticky; /*(recomended)*/
top: 0px;
position: fixed;
}
header {
position: sticky;
top: 0;
}
#header {
position: fixed;
}
#content {
margin-top: 100px;
}
Code Example |
---|
Css :: css input selector |
Css :: css text truncate 2 lines |
Css :: how to snap the scroll is css |
Css :: hover apply lighter color css |
Css :: resize checkbox |
Css :: css top right corner |
Css :: website make text not highlightable |
Css :: css keep image ratio |
Css :: cursor disabled |
Css :: css horizontal center |
Css :: css center in grid |
Css :: blocksatz css |
Css :: schatten css |
Css :: page icon css |
Css :: how to enlarge image when hover on in css |
Css :: icon inside a circle css |
Css :: centred div |
Css :: invert png color css |
Css :: css animate background image |
Css :: centering css elements |
Css :: what is the username password for ftp lampp |
Css :: default cursor css |
Css :: second child css |
Css :: decrease space between paragraphs html |
Css :: how to position something on the same line css |
Css :: how to align items in css |
Css :: center div inside div vertically and horizontally |
Css :: left and right box shadow only |
Css :: image resize css |
Css :: remove border radius select css |