Kylian Mbappe scored his 16th international goal as France got a vital win.
The victory means the French side have beaten Croatia in a repeat of the 2018 World Cup final.
It was Antoine Griezmann who crashed the opener after eight minutes.
Former Everton midfielder Nikola Vlasic leveled up in 64th minutes in the Group A3 match, before Mbappe’s winner.
Croatia failed to get an equaliser in injury time Hugo Lloris stopped Andrej Kramaric shot inside the box.