css
韩小转
第七日,活着,学习。
展开
-
简介的table样式
table{ table-layout:fixed; empty-cells:show; border-collapse: collapse; margin:0 auto; } td{ height:30px; text-align: center; } h1,h2,h3{ font-size:12px; margin:0; padding:0; } .table{ border:1px soli原创 2017-04-05 13:10:29 · 493 阅读 · 0 评论 -
ul-li 点击改变背景色
CSS ul li{height: 25px;line-height: 25px;cursor: pointer;} .blue{background: rgb(40,169,227);color: white;} JS $(document).ready(function(){ $("ul li").click(function(){ $(th原创 2017-04-05 13:13:43 · 11353 阅读 · 0 评论