Mutikasa
Power Member
- May 23, 2011
- 589
- 216
hi, i have two questions:
1. I have this code
for button. On the :hover button changes color, but changing seconds here doesn't affect anything. Button changes color as fast as the light. Why is that?
2. for gradients i have
the first line is confusing me. Why only webkit? Does it do same thing as every other line?
thanks
1. I have this code
Code:
-webkit-transition: all 0.218s;
-moz-transition: all 0.218s;
-ms-transition: all 0.218s;
-o-transition: all 0.218s;
transition: all 0.218s;
2. for gradients i have
Code:
background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
the first line is confusing me. Why only webkit? Does it do same thing as every other line?
thanks