摘要: #1 2017-12-21 "white-space: nowrap;"兼容 问题浏览器版本 firefox:57.0.1 (64 位) left-no float right- float :firefox 此元素会掉下来 阅读全文
posted @ 2017-12-21 11:09 草头萱 阅读(91) 评论(0) 推荐(0) 编辑
摘要: CSS 3d盒子 https://github.com/lingxuanHuang/escape-stars-from-3dbox.git 3d 立方体的旋转 和星星的明暗变化是这一次尝试的key。 演示: 1、打开index.html, 点击play 2、动画过程:星星会从旋转的立方体中逃离 3、 阅读全文
posted @ 2017-09-14 10:22 草头萱 阅读(325) 评论(0) 推荐(0) 编辑
摘要: https://github.com/lingxuanHuang/carousel-noJS one two three one two three 1 2 3 one-点击切换 two-点击切换 three-点击切换 one-点击切换 two-点击切换 three-点击切换 阅读全文
posted @ 2016-09-26 18:45 草头萱 阅读(9907) 评论(0) 推荐(0) 编辑
摘要: https://github.com/lingxuanHuang/touch-test.git 1、打开时的默认状态 2、拖动右上角的模块,当靠近合适的位子,模块会变成半透明 3、半透明下结束拖拽自动定位到确切的位置,并在灰色区域内出现下一模块 4、最终完成: 阅读全文
posted @ 2016-07-06 10:41 草头萱 阅读(590) 评论(0) 推荐(0) 编辑
摘要: SVG+Canvas小练习:https://github.com/lingxuanHuang/desert-cubes.git 阅读全文
posted @ 2016-06-06 16:18 草头萱 阅读(399) 评论(0) 推荐(0) 编辑
摘要: /*LESS*/ /*.rotate(@deg,@top:0,@left:0){ transform: rotate(20*(round(@deg)-1)+@deg*25deg); -webkit-transform: rotate(20*(round(@deg)-1)+@deg*25deg); -moz-transform: rotate(20*(round(@deg)-1)+@deg*2... 阅读全文
posted @ 2016-05-10 10:35 草头萱 阅读(483) 评论(0) 推荐(0) 编辑
摘要: ----- BEGIN LICENSE ----- Andrew Weber Single User License EA7E-855605 813A03DD 5E4AD9E6 6C0EEB94 BC99798F 942194A6 02396E98 E62C9979 4BB979FE 91424C9D A45400BF F6747D88 2FB88078 90F5CC94 1CDC... 阅读全文
posted @ 2016-05-06 13:54 草头萱 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1、 下载 nodejs 2、 安装到目录 E:\nodejs; 3、 打开cmd 检测 : $ node -v >输出 v5.10.1; $ npm –v >输出 3.8.6 4、 新建package.json: $ npm init 5、 cmd进入E:\nodejs目录 $ npm insta 阅读全文
posted @ 2016-04-25 15:39 草头萱 阅读(370) 评论(0) 推荐(0) 编辑
摘要: container用于固定宽度并支持响应式布局的容器container-fluid 类用于 100% 宽度,占据全部视口(viewport)的容器。 .col-xs-1-12 手机 (<768px).col-sm-1-12 小屏幕 平板 (≥768px).col-md-1-12 中等屏幕 桌面显示器 阅读全文
posted @ 2016-04-06 17:53 草头萱 阅读(379) 评论(0) 推荐(0) 编辑
摘要: <!--跨浏览器事件兼容--> <!DOCTYPE HTML> <html> <head> </head> <meta charset="utf-8"> <body> <div> <a href="http://www.baidu.com" id="al" >Click Me</a> </div> 阅读全文
posted @ 2016-03-08 21:03 草头萱 阅读(205) 评论(0) 推荐(0) 编辑