Click on Ryu to make him throw a Hadouken.
+Press and hold down the "x" key to make him strike his cool pose!
+diff --git a/README.md b/README.md new file mode 100644 index 00000000..16a7050c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# jquery-streetfighter +Starter Files for Thinkful Front End Web Development jQuery Streetfighter Project — Edit +link: http://kissa1001.github.io/jquery-streetfighter/ diff --git a/css/main.css b/css/main.css index e69de29b..3c5d2004 100644 --- a/css/main.css +++ b/css/main.css @@ -0,0 +1,75 @@ +body { + background-color: black; + overflow:hidden; + +} + +.main { + background-image: url('../images/background.jpg'); + background-size:cover; + 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, .ryu-cool { + width: 659px; + height: 494px; +} + +.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; + top: 167px; + left: 520px; + z-index: 10; +} +.instructions { + font-size: 1.5em; + font-family: 'Satisfy', cursive; + color:#000; + background-color:rgba(225, 225, 225, 0.5); + width:50%; + float:right; + z-index:-1; + display:none; +} diff --git a/images/background.jpg b/images/background.jpg new file mode 100644 index 00000000..55f496cb Binary files /dev/null and b/images/background.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..7d10a4e2 --- /dev/null +++ b/index.html @@ -0,0 +1,29 @@ + + +
+ +Click on Ryu to make him throw a Hadouken.
+Press and hold down the "x" key to make him strike his cool pose!
+