It's 374 km and should take about 6-1/2 hours, but that will definitely depend on the time of year you visit (traffic is very heavy in August). You can see for yourself at viamichelin.com.
The flight takes about 6-7 hours. You might need to fly to Frankfurt, Germany and from there about 1 hour to Zagreb, Split or Rijeka airport in Croatia.