摘要: jQuery CSS 操作jQuery 拥有三种用于 CSS 操作的重要函数:$(selector).css(name,value)$(selector).css({properties})$(selector).css(name)函数 css(name,value) 为所有匹配元素的给定 CSS 阅读全文
posted @ 2015-01-12 16:45 林锅 阅读(1670) 评论(0) 推荐(0) 编辑
摘要: 给一个HTML元素设置css属性,如 1 2 3 4 var head= document.getElementById("head"); head.style.width = "200px"; head.style.height = "70px"; head.style.display = "bl 阅读全文
posted @ 2015-01-12 16:42 林锅 阅读(183) 评论(0) 推荐(0) 编辑