Minispiel2 komplett eingebunden

This commit is contained in:
Hilmer, Carsten
2016-11-23 16:30:47 +01:00
parent f3b54198dd
commit 13119a71a4
38 changed files with 330 additions and 45 deletions

View File

@@ -1,47 +1,21 @@
.teddy {
position: fixed;
top: 50%;
left: 50%;
width: 256px;
height: 256px;
margin-left: -128px;
margin-top: -128px;
overflow: hidden;
/* Hintergrundbild */
.scroll-content {
background: url("../images/background.png");
background-size: cover;
color: #333;
font: 100% Arial, Sans Serif;
height: 100vh;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.teddybackground {
background: url('../images/Teddybackgound.png');
.dragzone{
height:48px;
width: 64px;
}
.teddyani1 {
width: 256px;
height: 1024px;
background: url('../images/Teddybear_ani1.png') left center;
-webkit-animation: teddyspriteani 1.4s steps(4) infinite;
}
.teddyani2 {
width: 256px;
height: 1024px;
background: url('../images/Teddybear_ani2.png') left center;
-webkit-animation: teddyspriteani 1.4s steps(4) infinite;
}
.teddyani3 {
width: 256px;
height: 1024px;
background: url('../images/Teddybear_ani3.png') left center;
-webkit-animation: teddyspriteani 1.4s steps(4) infinite;
}
.teddyani4 {
width: 256px;
height: 1024px;
background: url('../images/Teddybear_ani4.png') left center;
-webkit-animation: teddyspriteani 1.4s steps(4) infinite;
}
@-webkit-keyframes teddyspriteani {
100% { background-position: 0 -1024px; }
.dropzone{
height:96px;
width: 128px;
}