css3-过渡transtition
来源:互联网 发布:万网域名删除几点 编辑:程序博客网 时间:2024/06/04 01:34
语法
transition :property duration timing-function delay;
参数:property指定对哪呢个css属性值进行过渡
none(没有属性改变);all(所有属性改变)这个也是其默认值;indent(元素属性名如color)
1、ease:(逐渐变慢)默认值,ease函数等同于贝塞尔曲线(0.25, 0.1, 0.25, 1.0).
2、linear:(匀速),linear 函数等同于贝塞尔曲线(0.0, 0.0, 1.0, 1.0).
3、ease-in:(加速),ease-in 函数等同于贝塞尔曲线(0.42, 0, 1.0, 1.0).
4、ease-out:(减速),ease-out 函数等同于贝塞尔曲线(0, 0, 0.58, 1.0).
5、ease-in-out:(加速然后减速),ease-in-out 函数等同于贝塞尔曲线(0.42, 0, 0.58, 1.0)
6、cubic-bezier:(该值允许你去自定义一个时间曲线) (x1, y1, x2, y2)四个值特定于曲线上点P1和点 P2。所有值需在[0, 1]区域内,否则无效。
注:几个transition的声明串在一起,用逗号(“,”)隔开
transition-delay与transition-duration的值都是时间,浏览器会根据先后顺序决定,第一个可以解析为 transition-duration第二个为transition-delay
兼容性
- css3-过渡transtition
- css3过渡
- CSS3过渡
- css3过渡
- CSS3过渡
- CSS3过渡
- CSS3过渡
- <css3>过渡
- CSS3 过渡
- CSS3 过渡
- CSS3--过渡
- CSS3 过渡
- CSS3-过渡
- 【css3】过渡
- CSS3过渡
- CSS3-过渡
- CSS3过渡
- CSS3过渡
- jdk安装错误error could not open jvm.cfg
- SQL中char、varchar、nvarchar的区别
- python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
- VS2008非托管c++访问webservice服务
- Swift教程之元组类型
- css3-过渡transtition
- java--try 与catch的使用
- winform tabpage 绘制关闭按钮点击关闭事件和双击tab关闭页面
- openGl超级宝典学习笔记 (2) 7个基本的几何图元
- css3-变形transforms
- LeetCode-Number of Digit One-解题报告
- java--throw和throws的区别
- GCC版本切换,-std=c++11问题
- HTML的<li>标签