diff --git a/css/main.css b/css/main.css index e69de29b..4b36ffaf 100644 --- a/css/main.css +++ b/css/main.css @@ -0,0 +1,90 @@ +body { + + background-color: #000; +} + +.main { + + background-color: white; + margin-top: 110px; + padding-left: 100px; + min-width: 1200px; + height: 500px; + position: relative; + z-index: 1; +} + +.ryu, +.hadouken { + + float: left; +} + +.ryu { + + width: 659px; + height: 494px; +} + +.ryu-still, +.ryu-ready, +.ryu-throwing, +.ryu-cool { + + width: 659px; + height: 494px; + display: block; +} + +.ryu-ready, +.ryu-throwing, +.ryu-cool { + + 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'); +} + +.ryu-cool { + background-image: url('../images/ryu-cool.gif'); +} + +.hadouken, +.ryu-still, +.ryu-ready, +.ryu-throwing, +.ryu-cool { + + background-repeat: no-repeat; +} + +.hadouken { + + background-image: url('../images/hadouken.gif'); + width: 156px; + height: 90px; + display: none; + float: left; + position: absolute; + z-index: 10; + top:174px; + left:520px; +} + +.instructions { + + text-align: center; + padding-top: 100px; + padding-left: 20px; + padding-right: 20px; +} \ No newline at end of file diff --git a/index.html b/index.html index c7f8ef61..2f461340 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,34 @@ + - Streetfighter + + + Street Fighter + + + - +
+
+
+
+
+
+
+
+
+

Click on Ryu to make him throw Hadouken

+

Press 'X' key to make him stand in cool pose

+
+
+