摘要: 1.正则式直接量字符 字符 匹配字母和数字字符 本身 \o null字符(\u0000) \t 制表符(\u0009) \n 换行符(\u000A) \v 垂直制表符(\u000B) \f 换页符(\u000C) \r 回车符(\u0000D) \xnn 由十六进制数nn指定的拉丁字符,例如\x0A 阅读全文
posted @ 2020-08-11 10:02 程序員劝退师 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 首先我们规定两个div,为父子级别,后面各个案例都是基于 1 <div class="parent"> 2 <div class="child"> 3 demo 4 </div> 5 </div> 一、最简单的居中 margin:0 auto,上代码 1 .parent { 2 width: 200 阅读全文
posted @ 2020-08-11 09:50 程序員劝退师 阅读(384) 评论(0) 推荐(0) 编辑