Permalink
Browse files

float balloons away

  • Loading branch information...
1 parent 964c2e2 commit c158a58ba9a3f4ea48149eae6f4e7b3b3d5efe0a @tj committed Sep 3, 2011
Showing with 13 additions and 2 deletions.
  1. +13 −2 particles/public/style.css
View
@@ -2,13 +2,24 @@ body {
background: url(../../common/images/bg.jpg);
overflow: hidden;
}
+@-webkit-keyframes balloons {
+ from {
+ top: 160px;
+ left: 80px;
+ }
+ to {
+ top: -900px;
+ left: 500px;
+ -webkit-transform: rotate(50deg);
+ }
+}
#balloons {
position: absolute;
- top: 160px;
- left: 80px;
+ top: -900px;
width: 223px;
height: 433px;
background: url(images/balloons.png);
+ -webkit-animation: balloons 30s;
}
#guy {
position: absolute;

0 comments on commit c158a58

Please sign in to comment.