add css configuration for the fade mode