摘要: 1,clear清除浮動 加一個空div清浮動 壞處:破壞了頁面結構,多餘的div 2,用css清除浮動等同于在div後面加個div #father:after{ content:''; display:block; clear:both; } 3.加一個overflow overflow:hide 阅读全文
posted @ 2017-04-26 20:02 Gavin_zhong 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 最近在研究微信扫码支付,和参数对接。这个坑,不好搞。 不说了,今天学习继续 定位 position定位属性 static默认 ,没有定位 relative 相对定位 相自身原来位置进行偏移偏移设置:top\left\right\\bottom 单位:px absolute 绝对定位 偏移位置:lef 阅读全文
posted @ 2017-04-21 17:58 Gavin_zhong 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 微信支付这个坑,终于过了 这个如何上传文档啊?、 。。这个也是坑。 阅读全文
posted @ 2017-04-19 15:51 Gavin_zhong 阅读(112) 评论(0) 推荐(0) 编辑
摘要: display属性 块级元素<div>,<p>,<h1>~<h6>,列表 内联(行内)元素<a><img><span> 标准文档流的组成 display{none 设置元素不被显示 {inline 设置元素为内联元素 {block 设置元素为块级元素 {inline-block 设置元素为行内块元素 阅读全文
posted @ 2017-04-17 11:42 Gavin_zhong 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 盒子模型 什么是盒子模型 网页元素 外边距margin 高height 宽width 边框border boder-style boder-color boderwidth 内边距padding border-style:none solid dashed dotted double hidden 阅读全文
posted @ 2017-04-13 17:39 Gavin_zhong 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 并集选择器 p,h1{} 交集选择器 p.first{} 后代选择器;嵌套标签 h1 span{} 子元素选择器 h1>span{} 属性选择器 input[type="password"]{} 阅读全文
posted @ 2017-04-12 17:50 Gavin_zhong 阅读(156) 评论(0) 推荐(0) 编辑
摘要: type="hidde" 隐藏域 disable 禁用 什么是表单语义化 符合W3C规范 语义化的标签 结构合理、代码简洁 分组<fieldset><legend>标题</legend> </fieldsrt> 关联<lable for="id"></lable> 阅读全文
posted @ 2017-04-12 17:29 Gavin_zhong 阅读(458) 评论(0) 推荐(0) 编辑
摘要: (1)有序列表(ol)--<li>order list (2)无序列表(ul)--<li>unorder list (3)自定义列表<dl>--<dt>--<dd> 列表样式:list-style-type:circle(。);none;dis(.);square(方块) list-style-im 阅读全文
posted @ 2017-04-12 11:52 Gavin_zhong 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 标签名:伪类名{声明;} a:link{未单击访问时超链接样式} a:visited{单击访问后超链接样式} a:hover{鼠标悬浮其上的超链接样式} a:active{鼠标单击未释放的超链接} csss鼠标 cursor: 阅读全文
posted @ 2017-04-11 17:46 Gavin_zhong 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 域名概述 域名的概念 IP地址不易记忆 早期使用Hosts解析域名 主机名称重复 主机维护困难 DNS(Domain Name System 域名系统) 分布式 层次性 域名空间结构 根域 组织域【.net .edu .com .gov(政府) .mil(军事) .org】 国家/地区域名 顶级域 阅读全文
posted @ 2017-04-10 11:43 Gavin_zhong 阅读(181) 评论(0) 推荐(0) 编辑