2021年11月1日
摘要: window.onload=function(){ var btn =document.querySelector("button"); // document.querySelectorAll() 找全部 // 配合 遍历使用 找到所以button // document.querySelecto 阅读全文
posted @ 2021-11-01 14:54 闲鱼仔 阅读(42) 评论(0) 推荐(0)
摘要: /* *{ padding: 0px; margin: 0px; } */ footer { background-color:#000000; padding: 30px 0px; margin-top: 20px; } .foot1 { padding-left: 0px; text-align 阅读全文
posted @ 2021-11-01 14:00 闲鱼仔 阅读(10) 评论(0) 推荐(0)
  2021年10月28日
摘要: .head{ background-color: #222; } .head .line1{ background-color: #000; } .head ul{ padding-left:0; } .head ul li{ display:inline-block; } .head a{ tex 阅读全文
posted @ 2021-10-28 19:01 闲鱼仔 阅读(20) 评论(0) 推荐(0)
  2021年10月27日
摘要: body{ background-color: #CCCCCC; } .content ul{ padding-left: 0; } .content ul li{ display:inline-block; } .content{ width:1000px; margin: 0 auto; } . 阅读全文
posted @ 2021-10-27 19:08 闲鱼仔 阅读(16) 评论(0) 推荐(0)
  2021年10月26日
摘要: border-bottom:1px dotted 虚线 .content .list ul li:nth-child(5n+1){ margin-left: 0;} .content .list ul li:nth-child(5n){ margin-right: 0;} background-im 阅读全文
posted @ 2021-10-26 18:15 闲鱼仔 阅读(28) 评论(1) 推荐(0)
  2021年10月25日
摘要: text-align: center; font-weight: normal; 字体不加粗 padding-left: 0px;/* 取消前方空位 */ /* display: inline-block; 把元素在一行 */ background-position: center 0px; 图片定 阅读全文
posted @ 2021-10-25 11:27 闲鱼仔 阅读(28) 评论(1) 推荐(0)