Generate toCSSCrossfadeValue() instead of using manual function