我叫大王来巡山

导航

 

2020年10月16日

摘要: <!DOCTYPE html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale= 阅读全文
posted @ 2020-10-16 17:59 我叫大王来巡山 阅读(809) 评论(0) 推荐(0) 编辑
 
摘要: * 定宽居中: 1.absolute+负margin 2.absolute+margin:auto 3.absolute——calc 4.min-height:100vh + flex + margin:auto * 不定宽居中 1.absolute + transform 2.lineheight 阅读全文
posted @ 2020-10-16 15:35 我叫大王来巡山 阅读(164) 评论(0) 推荐(0) 编辑
 
摘要: const testPair = [ [0, '零'], [1, '一'], [2, '二'], [3, '三'], [10, '一十'], [11, '十一'] ] function transform (str) { const numChar = { '零': 0, '一': 1, '二': 阅读全文
posted @ 2020-10-16 14:04 我叫大王来巡山 阅读(187) 评论(0) 推荐(0) 编辑