> How do I make an element in my CSS ease in, the opposite of ease out. I want it to auto-transition.?

How do I make an element in my CSS ease in, the opposite of ease out. I want it to auto-transition.?

Posted at: 2014-12-18 
his would be used in CSS 3 for something to ease out when hovered over.

.class

{

transition: background 0.2s ease;

}

How do I make it ease in, in other words transitioning from lighter to darker coloring, without being hovered over, i.e. auto-transition?

Thank you