Weitere ähnliche Inhalte
Ähnlich wie [A5]deview 2012 pt hds webkit_gpu (20)
Kürzlich hochgeladen (20)
[A5]deview 2012 pt hds webkit_gpu
- 37. http://www.dorothybrowser.com/test/webkitTest/css3/animation.html
h1 {
position: absolute;
color: red;
left: 10px;
top: 200px;
-webkit-animation: bounce 1s infinite ;
}
@-webkit-keyframes bounce {
0% { -webkit-transform: translate3d(0, 0px,0);
-webkit-animation-timing-function: ease-out; }
50% { -webkit-transform: translate3d(0,-150px,0);
-webkit-animation-timing-function: ease-in; }
100% { -webkit-transform: translate3d(0, 0px,0); }
}
- 38.
h1Bouncingdivh1Bouncing2divh1Bouncing3/h1/div/h1/div/h1
http://www.webkit.org/blog/324/css-animation-2/
- 62.
@-webkit-keyframes move1 {
from { left: 0px; }
to { left: 200px; }
}
- 75. img
{
-‐webkit-‐filter:
sepia(100%);
img
{
}
- 76.
-‐webkit-‐animation:
adjustHue
1s
alternate
infinite;
}
@-‐webkit-‐keyframes
adjustHue
{
0%
{
-‐webkit-‐filter:
hue-‐rotate(30deg);
}
50%
{
-‐webkit-‐filter:
hue-‐rotate(60deg);
}
100%
{
-‐webkit-‐filter:
hue-‐rotate(90deg);
}
}
- 77.
1. blur(5,
5)
2. drop-‐shadow(10,
5,
5)
3. hue-‐rotate(328deg)
4. saturate(5)
5. invert(1)
6. grayscale(1)
7. opacity(0.5)
8. gamma(1.1,
3.6,
0)
9. sepia(0.5)
- 86. //
Draw
blue
rect
ctx.fillStyle
=
rgb(0,
162,
232);
ctx.fillRect(135,
85,
125,
125);
- 92. //
Draw
black
rect
outline
ctx.strokeStyle
=
rgb(0,
0,
0);
ctx.strokeRect(50,
335,
145,
145);
- 94. //
Draw
blue
rect
outline
ctx.strokeStyle
=
rgb(0,
162,
232);
ctx.strokeRect(135,
275,
125,
125);
- 96. //
Draw
transparent
yellow
rect
ctx.fillStyle
=
rgba(255,
255,
0,
0.75);
ctx.fillRect(210,
180,
125,
125);