摘要: 1.选择器 2.进行属性操作 3.css样式设置 // 取值 console.log($('.box').css('width')); //设值 $('.box').css('color','red')//单一属性设值 $('.box').css({ width:'300px', backgroun 阅读全文
posted @ 2018-12-27 23:01 Summerdreamcold 阅读(225) 评论(0) 推荐(0)