I'm trying to do a small animation visible on the JsFiddle below.
But as you can see the border radius not work during the animation...
There is a fix for that?
http://jsfiddle.net/toroncino/V4V97/
Here is my code:
a {
border-radius: 10px;
display: inline-block;
height: 300px;
overflow: hidden;
}
a img {
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
-webkit-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
width: 100%;
height: 100%;
}
a:hover img {
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}