The lead took the sting out of the game and Cardiff tried to get themselves back into it with Ross McCormack, back for his first start in almost three months for suspended top-scorer Michael Chopra, lifting the ball over the bar from the edge of the box.
BBC: Swansea 3-2 Cardiff