What are absolute, relative, sticky in UI design?
Sigiloso
Relative positioning: The element creates its own coordinate axes, at a location offset from the viewport coordinate axis. It is Part of document flow but shifted. Absolute positioning: An element searches for the nearest available coordinate axes among its parent elements. The element is then positioned by specifying offsets from this coordinate axis. It is removed from document normal flow. A sticky element will just sit there like a static element, but as you scroll past it, if it’s parent element has room the sticky element will behave as if it’s fixed until that parent element is out of room.