If you are concerned with file size, APNG or Animated PNG would be the go-to option. However, if the file size is not of concern, you would be good to go with GIFs.