CSS Position: Fixed Property

After applying CSS fixed property ,element will be fixed with respect to view port.

This is the element having fixed: position property.

Let us describe the CSS position property. It is categorized into different parts namely static, relative, absolute, fixed. Please keep in mind that every element has by default position property is static. The relative property of position is useful for shifting the element from its normal position. The fixed property of position is used to fix the element with respect to viewport while as absolute property of position is used to place the element with respect to the nearest position property of the element otherwise, it is shifted to the browser top left part of the browser window.