I have the following CSS for generating a subtle box shadow which appears with a transition of 0.15s.
#product {
-webkit-transition: box-shadow 0.15s;
-moz-transition: box-shadow 0.15s;
-ms-transition: box-shadow 0.15s;
-o-transition: box-shadow 0.15s;
transition: box-shadow 0.15s;
border-collapse: separate;
}
#product:hover {
-webkit-box-shadow: 0px 0px 14px 0px #C3C3C3;
-moz-box-shadow: 0px 0px 14px 0px #C3C3C3;
box-shadow: 0px 0px 14px 0px #C3C3C3;
}
My Question is this - will the transition of 0.15s apply to the browsers which picks up the vendor-prefixed version of box-shadow?
I don't want to apply transition to 'all' like this:
transition: all 0.15s
How do I ensure consistent behavior across browsers?