Norwich City came from behind to claim a 2-1 victory at Carrow Road, extending their winning run in the Championship to five matches.
The Bluebirds had looked capable of taking something from the game after Yousef Salech put them ahead shortly after the restart, but Norwich responded with two goals in the space of six minutes to turn the contest around.
Both sides enjoyed spells of possession during an evenly matched first half, although Cardiff created the more dangerous opportunities.
Norwich goalkeeper Dan Grimshaw was called into action inside the opening three minutes, producing an excellent save to tip Rubin Colwill's well-struck free-kick over the crossbar.
Colwill came close again midway through the half when a flowing Cardiff move ended with the midfielder striking the crossbar from just outside the penalty area.
The hosts also threatened, with Andre Brooks finding the side netting from close range, but neither side could find a breakthrough before the interval.
Cardiff made the perfect start to the second half, taking the lead just over two minutes after the restart. Alex Robertson delivered an inviting free-kick towards the far post, where Salech found himself unmarked to guide the ball into the bottom corner for his ninth goal of the season.
Norwich looked to respond and Anthony Musaba had a good opportunity to equalise when he broke into the penalty area, but his effort from the left went well wide.
The home side eventually found their way back into the contest on 62 minutes. Paris Maghoma was given room outside the Cardiff penalty area and took full advantage, curling an excellent finish beyond Nathan Trott and into the far corner.
The turnaround was completed six minutes later following a penalty award. Ronan Kpakio brought down Brooks as the Norwich player advanced towards the byline, leaving the referee to point to the spot.
Mathias Kvistgaarden saw his penalty saved by Trott, but the Danish forward reacted quickest to the rebound and finished to put Norwich 2-1 ahead.
Cardiff looked for an equaliser and thought they had found one when Salech headed home, only for the effort to be ruled out for offside.
Norwich threatened to extend their advantage late on, with substitutes Lucien Mahovo and Jovon Makama both going close.
The Bluebirds searched timidly for a way back into the game, Jack Moylan forced another good save from Grimshaw in the closing stages and Joel Colwill fired just wide but Norwich held on to claim all three points.
The defeat ended Cardiff's hopes of taking something from a game in which they had created some good opportunities but at the other end could not cope with the second half improvement from the home side. Norwich continued their impressive recovery after a run of five consecutive Championship defeats.