摘要: 对于富客户端的 Web 应用页面,自动登录、页面修改、抓取页面内容、屏幕截图、页面功能测试…面对这些需求,使用后端语言需要花费不少的精力才能实现。此时 SlimerJS、phantomJS 或 CasperJS 或许是更好的一种选择。 一、PhantomJS 和 SlimerJS PhantomJS 阅读全文
posted @ 2018-03-22 11:00 熊二(李明) 阅读(2952) 评论(0) 推荐(0) 编辑
摘要: 页面调用 <script src="{{http2https 'http://min.static.xxx.com/min/?f=static/site/asset/script/xxx/common-min.js'}}"></script> 阅读全文
posted @ 2018-03-16 13:44 熊二(李明) 阅读(695) 评论(0) 推荐(0) 编辑
摘要: 6. 使用选择器继承来精简CSS; .error { border: 1px solid red; background-color: #fdd;} .error a{ color: red; font-weight: 100;}h1.error { font-size: 1.2rem;} .ser 阅读全文
posted @ 2018-03-15 15:52 熊二(李明) 阅读(131) 评论(0) 推荐(0) 编辑
摘要: (1)变量$符号来标识变量 $nav-color:#F90; nav{ $width:100px; width;$width; color:$nav-color; } (2)嵌套 这里就不阐述了 (3)父选择器的标识符& article a{ color:blue; &:hover{ color:r 阅读全文
posted @ 2018-03-15 14:38 熊二(李明) 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 出了村,发现县城真大,出了县城,发现城市真大,出了城市,发现省城真大………出了银河系,发现宇宙真大 阅读全文
posted @ 2018-03-15 11:20 熊二(李明) 阅读(118) 评论(0) 推荐(0) 编辑