Animated card border ✨🤌🏾
This can be achieved in two ways: by manipulating the height and width, or by using transform scale(). The span tags will be positioned absolutely in all four corners. Using the transform scale() method is more performant, but for something like this, the difference is negligible.