We would like to know how to animate on border with radius.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.myborder {<!--from w w w .java 2 s .co m-->
width: 100px;
height: 100px;
background: lightgreen;
transition: all .5s;
-webkit-transition: all .5s;
-moz-transition: all .5s;
}
.myborder:hover {
border-radius: 50%;
border: 2px solid darkblue;
}
</style>
</head>
<body>
<div class="myborder"></div>
</body>
</html>
The code above is rendered as follows: