Skip to content

Instantly share code, notes, and snippets.

@mAAdhaTTah
Created May 16, 2017 16:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mAAdhaTTah/99284331e126db6c0e213dae3732c6c0 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=99284331e126db6c0e213dae3732c6c0
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<button id="up">Up</button>
<button id="down">Down</button>
<button id="left">Left</button>
<button id="right">Right</button>
<div id="box"></div>
</body>
</html>
#box {
width: 100px;
height: 100px;
background-color: green;
position: absolute;
top: 50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment