摘要: 1 select.css 2 3 *{padding:0;margin:0;} 4 .box{position: relative;width: 100px;} 5 ul,li{list-style: none;background: #eee;} 6 .box span{display:blo... 阅读全文
posted @ 2015-12-18 20:08 agosto 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1 checkbox.css 2 3 *{padding: 0;margin:0;} 4 span{background: url(images/no.gif) no-repeat;padding-left: 20px;} 5 .active{background: url(images/yes... 阅读全文
posted @ 2015-12-18 20:04 agosto 阅读(268) 评论(0) 推荐(0) 编辑
摘要: function getStyle(obj,name){ return (obj.currentStyle || getComputedStyle(obj,false))[name]; } function move(obj,json,options){ options=options || {}; 阅读全文
posted @ 2015-12-18 19:59 agosto 阅读(151) 评论(0) 推荐(0) 编辑
摘要: myRadio .css*{padding: 0;margin:0;}span{background: url(images/no.gif) no-repeat;padding-left: 20px;}.active{background: url(images/yes.gif) no-repeat... 阅读全文
posted @ 2015-12-18 19:58 agosto 阅读(175) 评论(0) 推荐(0) 编辑