Difference between position property?   

2 431 Question In | Html
Mon Dec 3, 2018 RY

position [ absolute,relative,fixed,initial,inherit,sticky ]
						

position: static

    By default, position an element based on its current position in the flow. The top, right, bottom, left and z-index properties do not apply. — source MDN

position: relative

    Position an element based on its current position without changing layout.

Amit Kumar

22  Mon Dec 3,2018  Solved      

position: static|absolute|fixed|relative|sticky|initial|inherit;

Megha Gupta

43  Mon Dec 3,2018       


Subscribe & Get Regular Updates On Your E-mail