Back to the index.
See also this useful page about animatable (and transitionable) properties.
The transition-property
is the CSS property (or properties) you want to transition. This page tests a few common ones, as well as some tricky ones.
The general rule is that the property must have numeric values: lengths, percentages, pixels, anything that’s expressed as a number. If it does not (like display or visibility) transitioning is impossible because the browser cannot calculate intermediate stages.
This is clearest with radial-gradient: this property is only transitionable if you want to go from one numeric value to another. 60% 100% (position) to 60% 50% works; farthest-corner to closest-corner does not.
This is the mobile table. See also the desktop table.
Click or touch the test elements. If they change styles immediately, transitions are not supported on the indicated CSS declaration. Instead, they should change slowly.
Firefox on Android, but not on Firefox OS, has problems with a lot of declarations, marked as "Jaggy". The transition is just not smooth, and sometimes downright ugly.
iOS | Android | Chromium | UC | Black |
Nokia Xpress | UC Mini | Opera | Nin |
Dol |
IE | Firefox | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | 8 | 2 | 4 | Sa | Puf | Cy | Xia | Op | Go | 9 | 10 | 6 | 7 | 10 | Mini | Classic | 9 | 10 | 11 | And | OS | |||||
background-color
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
background-position
Test |
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
border
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
This test is secretly two-fold: border-color and border-width. Note that the default styles have
Test
|
||||||||||||||||||||||||||
border-radius
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
color
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
iOS | Android | Chromium | UC | Black |
Nokia Xpress | UC Mini | Opera | Nin |
Dol |
IE | Firefox | |||||||||||||||
7 | 8 | 2 | 4 | Sa | Puf | Cy | Xia | Op | Go | 9 | 10 | 6 | 7 | 10 | Mini | Classic | 9 | 10 | 11 | And | OS | |||||
display
Test
|
Fundamentally impossible | |||||||||||||||||||||||||
The display values are exclusively keywords, and not numbers. Hence they cannot be transitioned: there are no intermediate values. |
||||||||||||||||||||||||||
font-size
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
height
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
This test box has
height: auto .Instead, the element has to have a specific height. The test element on the left does: it has |
||||||||||||||||||||||||||
left
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
iOS | Android | Chromium | UC | Black |
Nokia Xpress | UC Mini | Opera | Nin |
Dol |
IE | Firefox | |||||||||||||||
7 | 8 | 2 | 4 | Sa | Puf | Cy | Xia | Op | Go | 9 | 10 | 6 | 7 | 10 | Mini | Classic | 9 | 10 | 11 | And | OS | |||||
letter-spacing
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
line-height
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
|
||||||||||||||||||||||||||
margin-top
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
opacity
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
outline
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Al |
Jag |
Yes | |||||||||||||||
|
||||||||||||||||||||||||||
iOS | Android | Chromium | UC | Black |
Nokia Xpress | UC Mini | Opera | Nin |
Dol |
IE | Firefox | |||||||||||||||
7 | 8 | 2 | 4 | Sa | Puf | Cy | Xia | Op | Go | 9 | 10 | 6 | 7 | 10 | Mini | Classic | 9 | 10 | 11 | And | OS | |||||
padding-top
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
radial-gradient
Test |
No | - | No | - | - | - | No | - | - | Yes | No | |||||||||||||||
As usual, the difference between the two states must be defined in numbers or it won’t work. Transitioning between 60% 100% and 60% 10% is possible, but between closest-corner and farthest-corner is not. Also, be sure to define the initial state entirely in numbers. Transitioning between 60% 100% and 60% top is possible; but not between 60% bottom and 60% 0%. Odd but true. |
||||||||||||||||||||||||||
text-indent
Test Test Test Test Test Test Test Test Test Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
text-shadow
Test
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Jag |
Yes | |||||||||||||||
|
||||||||||||||||||||||||||
width
All examples on the other test pages use width transitions.
|
Yes | Yes | Yes | Yes | Yes | - | Yes | - | Yes | Yes | ||||||||||||||||
This page contains no width test, but all other transition pages do. |
||||||||||||||||||||||||||
iOS | Android | Chromium | UC | Black |
Nokia Xpress | UC Mini | Opera | Nin |
Dol |
IE | Firefox | |||||||||||||||
7 | 8 | 2 | 4 | Sa | Puf | Cy | Xia | Op | Go | 9 | 10 | 6 | 7 | 10 | Mini | Classic | 9 | 10 | 11 | And | OS |
Mobile browser test array 2.0.2; November 2014
Version 2.x has quite a few changes from 1.3; see my notes.
Wolfgang AT-AS45FW note: Wolfgang is a Dutch importer and re-brander of phones. In this particular case they seem to have bought Chinese (? probably) phones, re-branded them, then re-sold them to the Whoop company, which re-branded them and sold them to the Hema chain of supermarkets, which sells them to consumers as the Whoop Echo. Supply chain management FTW!