摘要: <style> .door { width: 288px; height: 153px; border: 2px solid #333; margin: 150px auto; background: url(../img/01.png) no-repeat; position: relative; perspective: 500px; /* 设置盒子透明 */ } .door-l, .door 阅读全文
posted @ 2019-08-29 19:20 晴天宝宝i 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1、过渡(transition)操作谁,给谁加过渡 transition:要过渡的属性 花费时间 运动曲线 何时开始; 多组属性变化,还是用 逗号 隔开 transition-property:规定应用过渡的CSS属性的名称。 transition-duration:定义过渡效果花费的时间,默认是0 阅读全文
posted @ 2019-08-29 17:45 晴天宝宝i 阅读(135) 评论(0) 推荐(0) 编辑