in Group D at UEFA Euro 2016 in Bordeaux, France, on Tuesday, as the holders collapsed to defeat against an inspired opponent.
Alvaro Morata gave the Spanish an early goal, but Nikola Kalinic equalised on the half-time whistle, allowing Perisic to claim a famous 87th-minute winner.
Spain looked jaded after a quick start, and Croatia fully deserved their victory as they picked the defensive lock with ruthless expertise.
The victory gave Croatia the group win above Spain, who finish second on six points.