[css] CSS transition between left -> right and top -> bottom positions