Uploaded March 2022 | Updated September 2026, 1 week ago
What is the position: absolute; in CSS: youtube.com/watch?v=co1KzxAQzEs
The position: fixed; works similar to the position: absolute; but there are two main differences.
Number 1: An element with a fixed position will always stay at the same place even if the page is scrolled.
Number 2: An element with the fixed position is always positioned relative to the body even if the parent element has the position: relative;
Join this channel to get access to perks:
youtube.com/channel/UCMlolkzOaMlIcf_CdljmIOg/join
❀ Visit my blog at v815.blogspot.com
❀ Join me on Telegram: https://telegram.im/@code8home
▶️ Subscribe to this channel for more videos.
What is the position: absolute; in CSS: youtube.com/watch?v=co1KzxAQzEs
The position: fixed; works similar to the position: absolute; but there are two main differences.
Number 1: An element with a fixed position will always stay at the same place even if the page is scrolled.
Number 2: An element with the fixed position is always positioned relative to the body even if the parent element has the position: relative;
Join this channel to get access to perks:
youtube.com/channel/UCMlolkzOaMlIcf_CdljmIOg/join
❀ Visit my blog at v815.blogspot.com
❀ Join me on Telegram: https://telegram.im/@code8home
▶️ Subscribe to this channel for more videos.










