摘要: 1. 基本知识 通配符 *{} 常用作margin padding为零2. 多类选择器 this is my web page this is my web page this is my web page 在CSS中 .p1{color: blue;} .p2{font-size: ... 阅读全文
posted @ 2015-02-10 22:58 Mirrorhanman 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. CSS定位机制 普通流 浮动 绝对布局2. CSS position 属性 static left right top bottom属性无效 relative absolute fixed 滚动时固定不动3. 覆盖顺序 z-index 值越大越在上面4. 浮动 float =... 阅读全文
posted @ 2015-02-10 22:14 Mirrorhanman 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. 盒子模型 2. CSS边框 border-radius 圆角边框 box-shadow 边框阴影3. CSS外边距合并 遵循 选取两个margin较大的 的原则4. 基本应用 盒子模型 ... 阅读全文
posted @ 2015-02-10 21:41 Mirrorhanman 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1. 基本语法 selector1, selector2{ property1 : value1; property2 : value2; } 如果value大于1个单词(如font-family的值可能是sans serif), 需要加上引号(font-family:"sans ... 阅读全文
posted @ 2015-02-10 16:49 Mirrorhanman 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1. CSS3背景//index.html haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha haha... 阅读全文
posted @ 2015-02-10 12:19 Mirrorhanman 阅读(135) 评论(0) 推荐(0) 编辑