![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS学习
J.WADE
单身
展开
-
js改变div属性
body{ margin: 0px; padding: 0px; } #show { background: red; width: 100px; height: 50px; float: left; margin-top: 15px; margin-left: 10px; color: white;原创 2017-10-22 17:25:56 · 8097 阅读 · 0 评论 -
简单的图片轮播器
#con { width: 400px; height: 400px; border: 10px solid #ccc; position: relative; margin: 0 auto 100px; } #con a{ width: 40px; height: 40px; background: #000;原创 2017-10-22 17:22:22 · 321 阅读 · 0 评论 -
JS自定义属性
li{ list-style: none; width: 113px; height: 140px; background-image: url(img/normal.png); float: left; margin-right: 20px; } window.onload=function() { var a原创 2017-10-28 17:07:50 · 223 阅读 · 0 评论 -
js-图片切换实例
ul { padding:0; margin:0; }li { list-style:none; }body { background:#333; }#pic { width:400px; height:500px; position:relative; margin:0 auto; background:url(img/loader_ico.gif) no-repeat center #f原创 2017-11-03 11:09:38 · 165 阅读 · 0 评论 -
js—QQ菜单简单实例
用JS索引值(this.index)实现的qq菜单实例! ul,h2{padding: 0; margin: 0;} li{list-style: none;} #list{width:240px; border: 1px solid #333;margin: 0 auto;} #list.lis{} #list h2{height: 30px原创 2017-11-04 16:26:28 · 388 阅读 · 0 评论