2017年7月31日
摘要: 一、变形 、过渡效果 1:元素平移 x方向 y方向 transform:translate(100px 100px); 2:过渡动画效果 a:什么属性参与过渡效果 b:过渡时间 c:过渡的效果 值包含: d: 延迟时间 ease ease-in ease-out ease-in-out linear 阅读全文
posted @ 2017-07-31 22:44 ★【金字塔】☆ 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 1、绝对定位+负边距 解决垂直居中的问题 1方法: a:父容器加相对定位 b:给字元素加绝对定位 c:top left:50% d:margintop(height),marginleft(width)取子元素的一半 2.代码举例 2、双飞翼布局 阅读全文
posted @ 2017-07-31 01:22 ★【金字塔】☆ 阅读(440) 评论(0) 推荐(0) 编辑