Day 3 of Payilagam
Position property in CSS defines how an element is placed on a web page. (top, bottom, left, and right) 5 types of position static - default behaviour offsets(top/left) do not work. relative - It owns the original position and move your position where it used to be. absolute - It checks the parent class if it is non- static it works accordingly. fixed - An element with position: fixed; is…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.