Front End Programmer Question: Download Front End Developer PDF

Explain the difference between static, fixed, absolute and relative positioning?

Tweet Share WhatsApp

Answer:

static is the default.

fixed is positioned relative to the browser.

absolute is positioned relative to its parent or ancestor element.

relative is positioned relative to normal positioning/the item itself. Used alone it accomplishes nothing.

Download Front End Developer PDF Read All 67 Front End Developer Questions
Previous QuestionNext Question
Tell me what are some of the online tools and resources you use when you have a problem? Where do you go to ask questions?Do you know what is a sprite? How is it applied using CSS? What is the benefit?