What is the difference between position : sticky and position : fixed ?



What is the difference between position : sticky and position : fixed ?..

Answer / hrpynux@gmail.com

Fixed position will not occupy any space in the body, so the next element(eg: an image) will be behind the fixed element. sticky position occupies the space, so the next element will not be hidden behind it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

How do I have a fixed (non-scrolling) background image?

0 Answers  


How do you make the text bold?

0 Answers  


How are css files saved?

0 Answers  


What are the three parts of a css style?

0 Answers  


What is the difference between class and id selectors?

0 Answers  






What are the css cascading order rules?

0 Answers  


What is font-family apple-system ?

1 Answers  


What is the origin of CSS ?

0 Answers  


Can I use css grid?

0 Answers  


What is CSS Box Model and what are its elements?

0 Answers  


What is ict in shs?

0 Answers  


What is the difference between the usage of an id and a class?

0 Answers  


Categories