-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib.html
47 lines (40 loc) · 1.08 KB
/
lib.html
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
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<style>
*{padding:0;margin:0}
li{list-style:none}
#te{display:table;width:100%}
li{display:table-cell;border:1px solid red;border-left:0;text-align: center}
li:first-child{border-left:1px solid red}
</style>
<script>
var obj = {
b : 't1',
c : 't2',
d : 't3',
e : 't4',
f : 't5'
}
// 객체 key 갯수
// Object.keys(obj).length
//키값을 배열로 반환
// var a = Object.keys(obj)
</script>
</head>
<body>
<ul id="te">
<li><a href="#1">12</a></li>
<li><a href="#1">1 d2</a></li>
<li><a href="#1">1 dasf 2</a></li>
<li><a href="#1">12d</a></li>
<li><a href="#1">12</a></li>
<li><a href="#1">1ads fa ds2</a></li>
<li><a href="#1">1dd2</a></li>
</ul>
</body>
</html>