Reputation: 7598
On all browsers the below code functions well, but it doesn't in Safari. I'm also unable to find a good answered question like this on Stack, am I missing something?
http://jsfiddle.net/pw13yd3x/1/
.containerLinksBlock {
background-color:red;
width:100px;
height:100px;
-ms-transition: border-radius 0.6s, transform 1.6s;
-webkit-transition:border-radius 0.6s, transform 1.6s;
-o-transition: border-radius 0.6s, transform 1.6s;
transition:border-radius 0.6s, transform 1.6s;
}
.containerLinksBlock:hover {
border-radius:0px 42px 0px 42px;
-ms-transform: rotate(420deg);
-webkit-transform: rotate(420deg);
-o-transform: rotate(420deg);
transform: rotate(420deg);
}
Upvotes: 1
Views: 966
Reputation: 2601
You need to add the -webkit
prefix in the transitions too.
-webkit-transition:border-radius 0.6s, -webkit-transform 1.6s;
Upvotes: 2