What is the difference between position : sticky and position : fixed ?
Answer Posted / 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 View All Answers
What are new features in css3?
How do I open a css file?
Can you make a class selector particular to an element type?
What is ‘important’ declaration used in css?
Name the property for controlling the image scroll in the background.
Why call the subtended angle a "pixel", instead of something else (e.g. "Subangle")?
What are the common values used in 2d transforms?
What is css and how does it work?
How do I get my footer to sit at the bottom...?
How to select all paragraph elements whose lang attribute contains the word "fr"?
What are the types of style sheets?
What is the general nomenclature of writing css?
What is div id in html?
How do you change the font type?
What is the use of a pseudo class? Explain with the help of an example?