“Css3 pr animation play state”的版本间差异

本页内容
(创建页面,内容为“{{DISPLAYTITLE:animation-play-state}}10 = CSS3 animation-play-state 属性 = 暂停动画: <sample title="" desc="" lang="html" hererun="1"> animation-play-state:paused; -webkit-animation-play-state:paused; →‎Safari 和 Chrome:​ </sample> <run name=""> <html><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> <style> div { width:100px; height:100px; background:re…”
 
Neo讨论 | 贡献
无编辑摘要
第1行: 第1行:
{{DISPLAYTITLE:animation-play-state}}[[Category:css3 animations|10]]
{{DISPLAYTITLE:animation-play-state}}[[Category:css reference|38]]
= CSS3 animation-play-state 属性 =
= CSS3 animation-play-state 属性 =



2022年8月19日 (五) 04:09的版本

CSS3 animation-play-state 属性

暂停动画:


示例

animation-play-state:paused;

    -webkit-animation-play-state:paused; /* Safari 和 Chrome */

浏览器支持

表格中的数字表示支持该属性的第一个浏览器版本号。

紧跟在 -webkit-, -ms- 或 -moz- 前的数字为支持该前缀属性的第一个浏览器版本号。

属性
animation-play-state 43.04.0 -webkit- 10.0 16.05.0 -moz- 9.04.0 -webkit- 30.015.0 -webkit-12.0 -o-

标签定义及使用说明

animation--play-state属性指定动画是否正在运行或已暂停。

注意:在JavaScript中使用此属性在一个周期中暂停动画。

默认值: running
继承: no
版本: CSS3
JavaScript 语法: object object.style.animationPlayState="paused"

语法

animation-play-state: paused|running;
描述 测试
paused 指定暂停动画 测试 »
running 指定正在运行的动画 测试 »

相关文章

CSS3 教程: CSS3 动画

此页面最后编辑于2022年8月19日 (星期五) 04:09。