2017年11月27日
摘要: 一、容器指定flex布局: .box{ display:flex;//块级元素设置 } .box{ display:inline-flex;//行内元素设置 } .box{ display:-webkit-flex;//webkit内核 display:flex; } 二、容器的属性 <1>flex 阅读全文
posted @ 2017-11-27 16:18 金翅鸟 阅读(200) 评论(0) 推荐(0) 编辑
摘要: var request; if(window.XMLHttpRequest){ request=new XMLHttpRequest(); }else{ request=new ActiveXObject("Microsoft XMLHTTP"); } request.onreadystatecha 阅读全文
posted @ 2017-11-27 15:21 金翅鸟 阅读(195) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ url:"https://www.baidu.com",//请求地址 dataType:"xml",//数据类型(xml、html、script、text、json、jsonp) async:"true",//是否异步(false或者true;默认值为true) data:"{'键 阅读全文
posted @ 2017-11-27 15:11 金翅鸟 阅读(304) 评论(0) 推荐(0) 编辑