首页
IT
登录
6mi
u
盘
搜
搜 索
IT
jQuery获取尺寸
jQuery获取尺寸
xiaoxiao
2021-12-14
23
1、width()
方法设置或返回元素的宽度(不包括内边距、边框或外边距)。
2、height()
方法设置或返回元素的高度(不包括内边距、边框或外边距)。
3、innerWidth()
方法返回元素的宽度(包括内边距)。
4、innerHeight()
方法返回元素的高度(包括内边距)。
5、outerWidth()
方法返回元素的宽度(包括内边距和边框)。
6、outerHeight()
方法返回元素的高度(包括内边距和边框)。
转载请注明原文地址: https://ju.6miu.com/read-968949.html
专利
最新回复
(
0
)