HTML CSS examples for CSS:Animation
Animated border on a div
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #test<!--from w ww .ja va 2s . c o m--> { position:absolute; width:201px; top:100px; left:51px; border-width:9px; -moz-border-image:url('http://www.java2s.com/style/demo/Google-Chrome.png') 9 repeat; -webkit-border-image:url('http://www.java2s.com/style/demo/Google-Chrome.png') 9 repeat; -o-border-image:url('http://www.java2s.com/style/demo/Google-Chrome.png') 9 repeat; border-image:url('http://www.java2s.com/style/demo/Google-Chrome.png') 9 repeat; } </style> </head> <body> <div id="test"> test </div> </body> </html>