摘要: 前端js总结 //getElementById函数 function $(id){ return document.getElementById(id); } //随机函数不包max //Math.floor(Math.random()*(max-min+1)+min);包含max和min func 阅读全文
posted @ 2017-08-28 21:20 wujunbin 阅读(395) 评论(1) 推荐(0) 编辑
摘要: czbk前端css总结 position:定位元素 默认是静态固定static fixed固定定位,以“浏览器”为窗口定位 配合top:left:right:bottom使用 relative相对定位,以原来的自己的位置定位 配合top:left:right:bottom使用 -100px; Abs 阅读全文
posted @ 2017-08-28 21:15 wujunbin 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 主体结构标签 <html></html>双标签 <head></head> 里面包含的标签 <title></title> <meta></meta> <link/> <body></body> 文本样式标签 <b></b> 加粗 <i></i> 斜体 <u></u> 下划线 <sub></sub> 阅读全文
posted @ 2017-08-28 21:08 wujunbin 阅读(136) 评论(0) 推荐(0) 编辑