1
0
This repository has been archived on 2026-02-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Catch-the-Cat/index.html
David Miller bebd579f62 upload
2021-07-29 12:23:00 +08:00

42 lines
1.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Catch The Cat</title>
<style>
* {
padding: 0;
margin: 0
}
body {
background-color: #eeeeee;
}
#catch-the-cat {
width: 100%;
margin-top: 32px;
text-align: center;
}
</style>
</head>
<body>
<script src="phaser.min.js"></script>
<script src="catch-the-cat.js"></script>
<div id="catch-the-cat"></div>
<script>
window.game = new CatchTheCatGame({
w: 11,
h: 11,
r: 20,
backgroundColor: 0xffffff,
parent: 'catch-the-cat',
statusBarAlign: 'center',
credit: 'David Miller'
});
</script>
</a>
<style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
</body>
</html>