HTML & CSS

getBoundingClientRect

매료매료 2022. 2. 9. 13:31

$0.getBoundingClientRect()
DOMRect {x: 265, y: 177, width: 969, height: 737, top: 177, …}
bottom: 914
height: 737
left: 265
right: 1234
top: 177
width: 969
x: 265
y: 177