该文被密码保护。 阅读全文
posted @ 2018-10-24 19:03 justSmile2 阅读(18) 评论(0) 推荐(0)
摘要: Math 对象 Math.PI π 3.141592653589793 Math.ceil('2.5') Math.ceil(2.1) 向上取整 3 Math.floor('2.5') 向下取整 2 Math.max(1,2,'3') 最大值 3 Math.min(1,2,'3') 最小值 Math 阅读全文
posted @ 2018-10-24 18:08 justSmile2 阅读(366) 评论(0) 推荐(0)
摘要: 1.思路: 能力检测 + 字符串检索 2.例子 IE Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) ActiveXObject函数 Firefox Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2 阅读全文
posted @ 2018-10-24 17:25 justSmile2 阅读(274) 评论(0) 推荐(0)
摘要: typeof null - 'object typeof undefined - 'undefined' Boolean(null) - false Boolean(undefined) - false Number(undefined) - NaN Number(null) - 0 123 + n 阅读全文
posted @ 2018-10-24 17:11 justSmile2 阅读(175) 评论(0) 推荐(0)
摘要: 两种用法: 页面跳转时使用 url (部分浏览器会阻止新窗口弹出页面),其他情况一律遵循 ‘结构样式行为分离’ 1. url href="#" 文档顶部 表示回到最顶部 href="https://www.baidu.com" 绝对地址 页面跳转 <a href="layout/flex_layou 阅读全文
posted @ 2018-10-24 16:29 justSmile2 阅读(331) 评论(0) 推荐(0)
摘要: 1. css3 html <div class="container"> <div class="progress"> <div class="progress-bar"> <div class="progress-shadow"></div> </div> </div> </div> css bo 阅读全文
posted @ 2018-10-24 15:06 justSmile2 阅读(179) 评论(0) 推荐(0)