๐ฐcoordinates
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
browser โฉ concepts โฉ coordinate system
There are 3 different coordinate systems:
document coordinates
viewport coordinates - also called "window coordinates".
container coordinates - relatively positioned container with top/left = 0.
๐ window
window takes the x and y coordinates in document coordinates.
๐ CSS
"position" "top/left" relative to removed from flow
-----------------------------------------------------------------------
fixed `viewport` โ
relative where it should be โ
absolute `document` / nearest positioned parent โ