<!DOCTYPE html> <html> <head> <style> @keyframes c { 50% { stroke-dasharray: context-value; } } div { animation-name: c; } </style> </head> <body> <div></div> </body> </html>