上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 制作摩天轮 阅读全文
posted @ 2020-03-16 22:48 strongerPian 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 利用CSS中的过渡、转换和3D造个套盒 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style type="text/css"> 7 *{margin: 0;padding: 0; 阅读全文
posted @ 2020-03-15 15:40 strongerPian 阅读(119) 评论(0) 推荐(0) 编辑
摘要: animation-timing-function:steps(num,start/end) 阅读全文
posted @ 2020-03-14 18:32 strongerPian 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 形成3D空间 transform-style:preserve-3d; 景深:观察物体时,近大远小 perspective:800px;(给父级元素添加) 观察点位置设置 perspective-origin:; left right top bottom px 背面不可见 backface-vis 阅读全文
posted @ 2020-03-13 17:15 strongerPian 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 渐变transition 转换transform 阅读全文
posted @ 2020-03-12 21:46 strongerPian 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1、bfc区域的规则 2、bfc触发规则 3、bfc应用 阅读全文
posted @ 2020-03-10 17:24 strongerPian 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 表格: thead 表头 tbody 表体 tfoot 表尾 th 列标题,默认居中加粗的td caption 表格表体,默认左右居中 colgroup span="num" 列分组 表格属性: border-spacing:单元格间距,必须给table添加 border-collapse:coll 阅读全文
posted @ 2020-03-10 17:22 strongerPian 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 宽度自适应: 默认宽度100%的元素 width:;单位为% 最小宽度自适应: min-width:; 最大宽度自适应: max-width:; 高度自适应: 不写height,让内容撑起 height:50%; 前提==>html,body{height:100%;} 最小高度自适应: min-h 阅读全文
posted @ 2020-03-09 16:58 strongerPian 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 文档流: 普通流:上至下,左至右 浮动流:元素添加了float:; 定位流:添加了定位属性 定位 position:; static 默认值 absolute 绝对定位(脱离文档流,不占位;默认参考浏览器零点) relative 相对定位(占据文档流,占位置;参考自身加载在页面中的位置) fixed 阅读全文
posted @ 2020-03-06 18:12 strongerPian 阅读(394) 评论(0) 推荐(0) 编辑
摘要: overflow:文本溢出设置 hidden 超出隐藏 scroll 超出时滚动查看(未超出时也有滚动机制) auto 超出时滚动查看(自适应,未超出时不会有滚动机制) inherit 继承父级的overflow设置 white-space:文本空白 normal 默认值 pre 保留所有格式,且不 阅读全文
posted @ 2020-03-05 20:39 strongerPian 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页
返回顶端