摘要: .tab-box:after{ content: ''; position: absolute; width: 200%; height: 1px; left:0; bottom: 0; border-bottom: 1px solid #D9D9D9; -webkit-transform-orig 阅读全文
posted @ 2018-11-30 16:22 kevins_yuan 阅读(96) 评论(0) 推荐(0)
摘要: 验证数字的正则表达式集 验证数字:^[0-9]*$ 验证n位的数字:^\d{n}$ 验证至少n位数字:^\d{n,}$ 验证m-n位的数字:^\d{m,n}$ 验证零和非零开头的数字:^(0|[1-9][0-9]*)$ 验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$ 验证有1-3位 阅读全文
posted @ 2018-11-30 10:55 kevins_yuan 阅读(76) 评论(0) 推荐(0)