This video shows a way to create animated borders using a clipping path.
The width of the border can be set with a CSS variable override.
The border clips anything that is within it. So you can use a simple animation, video, article generator or any content you like.
See CSS Code here:
https://www.wpget.au/tutorial/element...