use keyframes function for loading svg