What's is Fixed Positioning in CSS

Опубликовано: 26 Март 2022
на канале: Sir Chogyal
176
1

What is the position: absolute; in CSS:    • What is the position: absolute; in CSS  

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:
   / @sirchogyal  

❀ Visit my blog at http://v815.blogspot.com

❀ Join me on Telegram: https://telegram.im/@code8home

▶️ Subscribe to this channel for more videos.