In jQuery how can I set “top,left” properties of an element with position values relative to the parent and not the document?

前端 未结 7 1040
感情败类
感情败类 2020-12-12 18:43

.offset([coordinates]) method set the coordinates of an element but only relative to the document. Then how can I set coordinates of an element but relative to

7条回答
提交回复
热议问题