![]() ![]() I tried using the offsetTop property to match the offsets, but havent made it work yet.īut theoretical, one could then use position sticky on the background images to mimic the position fixed effect without content jumps or the annoying (seeming) bug. ![]() Set this to absolute and use javascript to get the element's offset top (of which the background is supposed to belong to) and offset the background's "top" property to be equal the the div it belongs to. I thought i had a solution: place a div behind the rest of the site that holds (and stacks if you have a background per section like i do) in a wrapper. Which means that the pixels obstructed by the toolbar are just simply not being rendered when the toolbar disappears.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |