只需一步,快速开始
jquery中可利用attr()方法来修改style属性,该方法设置被选元素的属性值,语法“$(selector).attr(style,行内样式代码)”或“$(selector).attr({style:样式代码})”。
首页
分类
索引
我的