summaryrefslogtreecommitdiffstats
path: root/click2/index.html
blob: 590f5824df84b68f092f502e8caf736540cfa0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html>
<head>
  <meta charset="utf-8">

  <title>click2</title>

  <style>
    * { margin: 0; padding: 0; }

    #box {
      width: 160px;
      height: 160px;
      position: absolute;
      left: 0;
      top: 0;
      background: #0AE;
      border-radius: 5px;
    }
    
    #box a {
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
    }
  </style>

</head>
<body>

  <h1>click2</h1>

<div id="box">
  <a href="#"></a>
</div>

<script src="demo.js"></script>

</body>
</html>