CSS Underdog Rule: position: sticky;

Written by Figle71 | Published 2020/05/03
Tech Story Tags: html | css | beginners | learning-css | learning-html | web-development | microverse | html5

TLDR CSS Underdog Rule: Position: position: sticky;. Position: fixed; position: relative;. Position: relative works in pretty much expected behavior. Position absolute works in relation to what the element will move. Position fixed works in a similar way than absolute. Every box with sticky property will behave as a relative element. It will only take place inside the element parent container, only work inside the parent container. But, as soon as this sticky element meets its sibling, it will only work against their sibling.via the TL;DR App

no story

Written by Figle71 | Freelancer Developer
Published by HackerNoon on 2020/05/03