How to animate two css property using transitions of css3

I have gone through http://www.kirupa.com/html5/looking_at_css3_transitions.htm but still could not animate two property (width an height) with css3 transitions. It always override the previous one.