<style>input[type=text],input[type=password],input[type=email] {
font: Comic Sans MS;
padding:4px 4px;
background:#333333
width: 80px;
transition: width 2s;
-moz-transition: border-radius 2s,border-color 2s;
-webkit-transition: border-radius 2s,border-color 2s;
-o-transition: border-radius 2s,border-color 2s;
border-radius:0px;
border-color:#666666;
background:url(http://up.p30p.ir/bg.png)
}
input[type=text]:hover,input[type=password]:hover,input[type=email]:hover,input[type=text]:focus,input[type=password]:focus,input[type=email]:focus{
border-radius:25px;
border-color:#000000
}
</style>