Archived
1
0
Fork 0
This repository has been archived on 2019-12-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
30shooter/herzle.html

44 lines
889 B
HTML

<html>
<head>
<script type="text/javascript" src="herzle.js"></script>
<style type="text/css">
* {
font-size: 2em;
color: #ff00ff;
font-family: helvetica, arial;
}
#player {
position: absolute;
bottom: 10%;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
border-style: solid; border-width: 1px;
}
#enemy {
position: absolute;
top: 10%;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
border-style: solid; border-width: 1px;
}
#pewpew {
position:absolute;
top: 10%;
right: 10%;
}
div.shoot {
position:absolute;
border-style: solid; border-width: 1px;
}
</style>
</head>
<body onload="gameLoop();">
<div id="enemy">3</div>
<div id="player">&lt;</div>
<div id="pewpew"></div>
</body>
</html>