var margin =$("#Modules .list").css('marginLeft');
转载于:https://www.cnblogs.com/ToBeBest/p/5817229.html
本文介绍了一种在JavaScript中动态获取元素marginLeft属性的方法,通过使用jQuery库简化了这一过程,便于网页布局调整。
var margin =$("#Modules .list").css('marginLeft');
转载于:https://www.cnblogs.com/ToBeBest/p/5817229.html
537
686

被折叠的 条评论
为什么被折叠?