摘要: 以调用百度的输入提示接口为例 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ main. 阅读全文
posted @ 2016-11-07 17:53 幽竹小妖 阅读(21210) 评论(0) 推荐(3) 编辑
摘要: 效果图 代码 用到的图片 阅读全文
posted @ 2016-08-23 15:13 幽竹小妖 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 效果图 : 代码: <script> var arr = [ {name:'lalalal菜单',code:'1',parentcode:'12'}, {name:'lalalal菜单',code:'2',parentcode:'14'}, {name:'lalalal菜单',code:'3',pa 阅读全文
posted @ 2016-08-23 14:52 幽竹小妖 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> /*Circle: circle(radius at x-axis y-axis) Ellipse: ellips 阅读全文
posted @ 2016-07-19 15:54 幽竹小妖 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 效果图 ang.html <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title><script src="angular.min.js"></script><script src="an 阅读全文
posted @ 2016-07-11 16:18 幽竹小妖 阅读(6828) 评论(3) 推荐(0) 编辑
摘要: 在网页设计过程中,有时候会希望图片垂直居中的情况。而且,需要垂直居中的图片的高度也不确定,这就会给页面的布局带来一定的挑战。下面总结了一下,曾经使用过的几种方法来使图片垂直居中,除了第一种方法只限于标准浏览器外,另外两种方法的兼容性还不错。 方法一将外部容器的显示模式设置成display:table 阅读全文
posted @ 2016-07-11 11:12 幽竹小妖 阅读(400) 评论(0) 推荐(0) 编辑
摘要: content属性想必大家都熟悉了,一般结合伪类一起使用,表示显示的内容例如:.box:before{content:"hello";width:100px;line-height:30px;}这种的是静态内容css3 里面的content 可以使用动态内容结合html5的自定义属性格式:conte... 阅读全文
posted @ 2016-01-09 18:49 幽竹小妖 阅读(1958) 评论(0) 推荐(0) 编辑
摘要: google :webkitTransitionEndfirefox :transitionendie : MSTransitionEnd 阅读全文
posted @ 2015-12-14 11:27 幽竹小妖 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 序列化的时候用angular.toJson 和 angular.fromJson,不要用 Json.parse 和JSON.stringify就可以了。 阅读全文
posted @ 2015-12-04 15:03 幽竹小妖 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: AngularJS Toaster是一个 AngularJS 提示框.基于angular v1.2.6 及以上和angular-animate. (推荐使用 /1.2.8/angular-animate.js, 因为高版本会有怪异闪烁.)引入脚本用法1:添加指令编写弹窗调用函数angular.mod... 阅读全文
posted @ 2015-11-10 17:10 幽竹小妖 阅读(7571) 评论(0) 推荐(0) 编辑