03 2018 档案

摘要:CSS代码 .box-line, .box-line::before, .box-line::after { position: absolute; top: 0; bottom: 0; left: 0; right: 0;}.box-line { width: 200px; height: 200px; margin: auto; ba... 阅读全文
posted @ 2018-03-23 16:59 前端小超人 阅读(3460) 评论(0) 推荐(0)
摘要:HTML代码 <table class="table table-striped"> <thead> <tr> <th><input type="checkbox" class="selBtn"/></th> </tr> </thead> <tbody> <tr><td style="width: 阅读全文
posted @ 2018-03-17 18:36 前端小超人 阅读(235) 评论(1) 推荐(0)
摘要://后台页面选项卡function myTab(id){ var oTab = document.getElementById(id); var oLis = oTab.getElementsByTagName("li"); var oDivs = oTab.getElementsByTagName 阅读全文
posted @ 2018-03-14 18:12 前端小超人 阅读(142) 评论(0) 推荐(0)
摘要:& .cicle{ position: relative; float: right; margin-right: -1rem; vertical-align: middle; width: 1.4rem; height: 1.4rem; border: 1px solid #3399ff; bor 阅读全文
posted @ 2018-03-06 16:48 前端小超人 阅读(2029) 评论(0) 推荐(0)
摘要:?在正则中有很多的作用1、它本身作为一个量词元字符代表出现0-1次 var reg=/\d?/; ->0-9之间的一个数字,出现0次或者1次2、出现在另外一个量词元字符的后面,是取消捕获时候的贪婪性 var reg=/\d+?/g; var str="tengxun2015"; str.match( 阅读全文
posted @ 2018-03-01 15:43 前端小超人 阅读(994) 评论(0) 推荐(0)