transition-property是用來指定當元素其中一個屬性改變時執行transition效果: 所支持的屬性類型以下:css
color
: 經過紅、綠、藍和透明度組件變換(每一個數值處理)如:background-color,border-color
,color
,outline-color
等css屬性;length
: 真實的數字 如:word-spacing
,width
,vertical-align
,top
,right
,bottom
,left
,padding
,outline-width
,margin
,min-width
,min-height
,max-width
,max-height
,line-height
,height
,border-width
,border-spacing
,background-position
等屬性;percentage
:真實的數字 如:word-spacing
,width
,vertical-align
,top
,right
,bottom
,left
,padding
,outline-width
,margin
,min-width
,min-height
,max-width
,max-height
,line-height
,height
,border-width
,border-spacing
,background-position
等屬性;integer
離散步驟(整個數字),在真實的數字空間,以及使用floor()轉換爲整數時發生 如:outline-offset
,z-index
等屬性;number
真實的(浮點型)數值,如:zoom
,opacity
,font-weight
,等屬性;transform
listrectangle
:經過x, y, width 和 height(轉爲數值)變換,如:crop
visibility
: 離散步驟,在0到1數字範圍以內,0表示「隱藏」,1表示徹底「顯示」,如:visibility
shadow
: 做用於color, x, y 和 blur(模糊)屬性,如:text-shadow
gradient
: 經過每次中止時的位置和顏色進行變化。它們必須有相同的類型(放射狀的或是線性的)和相同的中止數值以便執行動畫,如:background-image
gradient
到gradient
以及color
到color
,而後工做與上面相似