23 lines
474 B
HTML
23 lines
474 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>button, button, who's got the button?</title>
|
|
|
|
<button id=button>
|
|
button!
|
|
</button>
|
|
<span id=text>
|
|
<span id=counter>
|
|
</span><a href="index.html">return</a></span>
|
|
|
|
<style>
|
|
body{min-height:100vh;margin:0;padding:0;overflow:hidden;}
|
|
#button{
|
|
position:absolute;
|
|
transition: top 2s, left 3s;
|
|
z-index: 1000;
|
|
}
|
|
#text{position:absolute;font:italic 40px/2 script;top:-80px;}
|
|
</style>
|
|
|
|
<script src="button.js"> </script>
|