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

What is auto in css?

0 Answers  


Should I use important in css?

0 Answers  


How can I change the background of a picture to white?

0 Answers  


Can default property value be restored through CSS? If yes, how?

0 Answers  


What is the full form of css?

0 Answers  






What is block formatting context? How does it work?

0 Answers  


What is the difference between position absolute and fixed?

0 Answers  


What is hover app?

0 Answers  


How do you specify units in the CSS?. What are the different ways to do it?

1 Answers  


Is css a language?

0 Answers  


What is css text-indent property?

0 Answers  


Explain the difference between css2 & css3?

0 Answers  


Categories