摘要: js中数据类型 // Number 数值 整数 小数 // String 字符串 (字符) '单引号'或"双引号" // Boolean true/false // null 没有 // undefined 没有赋值就是他 未定义 // object 对象 类型 0.1+0.2结果为0.300000 阅读全文
posted @ 2021-11-02 18:26 林启 阅读(362) 评论(0) 推荐(0)
摘要: 登录页面: border-color: transparent; 透明色 input 加圆角会出现你删掉的boder边框 border-radius: 4px; outline: 1px solid #999; border: none; display: flex; justify-content 阅读全文
posted @ 2021-11-01 18:54 林启 阅读(705) 评论(0) 推荐(0)
摘要: display: inline-block; /*yi行内的块级 ;block:独占一行的块级*/ /*text-decoration: line-through; 删除线*/ 阅读全文
posted @ 2021-10-28 19:46 林启 阅读(143) 评论(0) 推荐(0)
摘要: <!--ul>(li>im[src=img/necessary-$.png]+span)*5--> 结果: ul li img src =图片 span /span /li .ul <!--ul>(li>a>img[src=img/pro/$.jpg]+div.right>span.title+sp 阅读全文
posted @ 2021-10-27 19:27 林启 阅读(223) 评论(0) 推荐(0)
摘要: .content .list ul li:nth-child(5n+1){ /*5的倍数*/ 选中5的倍数+1 margin-left: 0;}.content .list ul li:nth-child(5n){ /*5的倍数*/ margin-right: 0;} <!--ul>(li>a>im 阅读全文
posted @ 2021-10-26 16:40 林启 阅读(113) 评论(0) 推荐(0)