Color transitions are fine over time, but font switchers immediately for some reason dagnabbit.
Your font-size transition will be overwritten by your color transition.
transition: font-size 12s; /* transition is set to 'font-size 12s' */ transition: color 12s; /* transition is set to 'color 12s' !! */
Instead, you should combine them all into one declaration:
transition: color 12s, font-size 12s;
See: http://jsfiddle.net/thirtydot/6HCRs/
-webkit-transition: color 12s, font-size 12s; -moz-transition: color 12s, font-size 12s; -o-transition: color 12s, font-size 12s; transition: color 12s, font-size 12s;
(Or just use the keyword all : transition: all 12s; - http://jsfiddle.net/thirtydot/6HCRs/1/ ).
thirtydot Feb 16 2018-12-12T00: 00Z
source share