很多时候 我们是不用jquery库的,虽然他很好,获取元素最终的css属性我们可以用:getComputedStyle window.getComputedStyle(element, null).getPropertyValue("float"); 转载于:https://www.cnblogs.com/mrzhu/p/6922722.html