Skip to content

Instantly share code, notes, and snippets.

@zabesangary
Forked from erikthinkful/main
Last active August 29, 2015 14:20
Show Gist options
  • Save zabesangary/cb71c2161c6b55034986 to your computer and use it in GitHub Desktop.
Save zabesangary/cb71c2161c6b55034986 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/main.css">
<script src="http://code.jquery.com/jquery.min.js"></script>
<script src="js/app.js"></script>
</head>
<body>
<div class="main">
<div class="ryu">
<div class="ryu-still"></div>
<div class="ryu-ready"></div>
<div class="ryu-throwing"></div>
</div>
<div class="hadouken"></div>
</div>
</body>
</html>
body {
background-color: black;
}
.main {
background-color: white;
margin-top: 110px;
padding-left: 100px;
min-width: 1200px;
height: 500px;
position: relative;
z-index: 1;
}
.ryu {
width: 659px;
height: 494px;
}
.ryu-still, .ryu-ready, .ryu-throwing {
width: 659px;
height: 494px;
}
.ryu-ready, .ryu-throwing {
display: none;
}
.ryu-still {
background-image: url('../images/ryu-standing-still.png');
}
.ryu-ready {
background-image: url('../images/ryu-ready-position.gif');
}
.ryu-throwing {
background-image: url('../images/ryu-throwing-hadouken.png');
}
.hadouken, .ryu-still, .ryu-ready, .ryu-throwing {
background-repeat: no-repeat;
}
.hadouken {
background-image: url('../images/hadouken.gif');
width: 156px;
height: 90px;
display: none;
float: left;
position: absolute;
top: 167px;
left: 520px;
z-index: 10;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment