Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Add in animation CSS just for the sprite demonstration
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Feb 24, 2017
1 parent 398551e commit 46300c7
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/_compiled/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions app/assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,48 @@ body {
.icon--tie {
display: inline-block;
}

@keyframes backgroundRotate {
20% {
fill: #8577b9;
}

70% {
fill: #efc75e;
}
}

@keyframes takeoff {
0% {
transform: translate3d(0, 0, 0);
}

30% {
transform: translate3d(4rem, -4rem, 0);
}

31% {
transform: translate3d(5rem, 5rem, 0);
}

32% {
transform: translate3d(-5rem, 5rem, 0);
}

50% {
transform: translate3d(0, 0, 0);
}
}

.icon--luggage {
border-radius: 100%;
overflow: hidden;

.background {
animation: backgroundRotate 5s infinite .5s;
}

.plane {
animation: takeoff 5s infinite .5s;
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Project Generator</title>
<link rel="stylesheet" href="/assets/_compiled/styles.c6db25ab139887705339311edb837105.css">
<link rel="stylesheet" href="/assets/_compiled/styles.8f619facbdc2994e88c456335e35276f.css">
</head>
<body>
<h1>Project Starter</h1>
Expand Down

0 comments on commit 46300c7

Please sign in to comment.