摘要: 一、基本选择器 1. id选择器(指定id元素) 将id="one"的元素背景色设置为黑色。(id选择器返单个元素) $(document).ready(function () { $('#one').css('background', '#000'); }); 2. class选择器(遍历css类 阅读全文
posted @ 2017-03-30 09:57 *小嘻嘻* 阅读(197) 评论(0) 推荐(0) 编辑