摘要: <!DOCTYPE html><html><head> <title>转场曲线</title> <style type="text/css"> .content div{ width: 100px; height: 30px; margin-top: 30px; background-color: 阅读全文
posted @ 2017-02-11 13:18 AdiaLike 阅读(524) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>过渡动画</title> <style type="text/css"> div{ width: 200px; height: 300px; background-color: red; margin: 100px auto; / 阅读全文
posted @ 2017-02-11 13:16 AdiaLike 阅读(100) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>景深</title> <meta charset="utf-8"> <style type="text/css"> .box{ width: 400px; height: 400px; margin: 100px auto; po 阅读全文
posted @ 2017-02-11 11:49 AdiaLike 阅读(3362) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title></title> <style type="text/css"> .box{ width: 200px; height: 200px; position: relative; margin: 100px auto; transfo 阅读全文
posted @ 2017-02-11 11:48 AdiaLike 阅读(187) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>3D转换</title> <style type="text/css"> .box{ width: 400px; height: 400px; margin: 100px auto; position: relative; /*t 阅读全文
posted @ 2017-02-11 11:46 AdiaLike 阅读(107) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>2D转换</title> <style type="text/css"> .box{ width: 400px; height: 400px; margin: 100px auto; position: relative; } i 阅读全文
posted @ 2017-02-11 10:31 AdiaLike 阅读(118) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>左右垂直居中</title> <meta charset="utf-8"> <style type="text/css">/* div{ width: 250px; height: 250px; background-color: 阅读全文
posted @ 2017-02-11 09:32 AdiaLike 阅读(419) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>倒影</title> <meta charset="utf-8"> <style type="text/css"> .first{ width: 400px; height: 200px; margin-left: 500px; 阅读全文
posted @ 2017-02-11 09:20 AdiaLike 阅读(90) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>径向渐变</title> <style type="text/css"> div{ width: 200px; height: 150px; } .a{ /*径向渐变的默认形状是椭圆ellipse 和线性渐变一样如果不设置第一个颜 阅读全文
posted @ 2017-02-09 20:12 AdiaLike 阅读(414) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <title>线性渐变</title> <style type="text/css"> div{ width: 150px; height: 150px; margin-top: 20px; } /*渐变分线性渐变和径向渐变 线性渐变:line 阅读全文
posted @ 2017-02-09 20:11 AdiaLike 阅读(142) 评论(0) 推荐(0) 编辑