BorderAnimation

Border Animation using css mask
border mask two layers(mask-composite: exclude)