女同一区二区三区在线-日本伊人久久综合网-国产日韩欧美mv高清-国产精品亚洲精品日韩已满十八小-亚洲精品色午夜无码专区日韩-亚洲精品无码成人片久久不卡-亚洲国产一级中文字幕-亚洲综合国产成人丁香五月激情-日韩精品一区二区三区在线观看l

transition-property

語(yǔ)法:

transition-property:none | <single-transition-property>[ ,<single-transition-property> ]*

<single-transition-property> = all | <IDENT>

默認(rèn)值all

適用于:所有元素,包含偽對(duì)象:after和:before

繼承性:無(wú)

動(dòng)畫性:否

計(jì)算值:指定值

媒體:視覺(jué)

取值:

none:
不指定過(guò)渡的css屬性
all:
所有可以進(jìn)行過(guò)渡的css屬性
<IDENT>
指定要進(jìn)行過(guò)渡的css屬性

說(shuō)明:

檢索或設(shè)置對(duì)象中的參與過(guò)渡的屬性。
  • 默認(rèn)值為:all。默認(rèn)為所有可以進(jìn)行過(guò)渡的css屬性。
  • 如果提供多個(gè)屬性值,以逗號(hào)進(jìn)行分隔。
  • 對(duì)應(yīng)的腳本特性為transitionProperty

有過(guò)渡效果的屬性:

屬性名稱 類型
transformall
background-colorcolor
background-imageonly gradients
background-positionpercentage, length
border-bottom-colorcolor
border-bottom-widthlength
border-colorcolor
border-left-colorcolor
border-left-widthlength
border-right-colorcolor
border-right-widthlength
border-spacinglength
border-top-colorcolor
border-top-widthlength
border-widthlength
bottomlength, percentage
colorcolor
croprectangle
font-sizelength, percentage
font-weightnumber
grid-*various
heightlength, percentage
leftlength, percentage
letter-spacinglength
line-heightnumber, length, percentage
margin-bottomlength
margin-leftlength
margin-rightlength
margin-toplength
max-heightlength, percentage
max-widthlength, percentage
min-heightlength, percentage
min-widthlength, percentage
opacitynumber
outline-colorcolor
outline-offsetinteger
outline-widthlength
padding-bottomlength
padding-leftlength
padding-rightlength
padding-toplength
rightlength, percentage
text-indentlength, percentage
text-shadowshadow
toplength, percentage
vertical-alignkeywords, length, percentage
visibilityvisibility
widthlength, percentage
word-spacinglength, percentage
z-indexinteger
zoomnumber

兼容性:

  • 淺綠 = 支持
  • 紅色 = 不支持
  • 粉色 = 部分支持
Values IE Firefox Chrome Safari Opera iOS Safari Android Browser Android Chrome
Basic Support 6.0-9.0 2.0-3.6 4.0-25.0-webkit- 6.0-webkit- 15.0+ 6.0-6.1-webkit- 2.1-4.3-webkit- 18.0-24.0-webkit-
10.0+ 4.0-15.0-moz- 26.0+ 6.1+ 7.0+ 4.4.4+ 25.0+
16.0+

示例: