-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtest.html
59 lines (58 loc) · 1.55 KB
/
test.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
48
49
50
51
52
53
54
55
56
57
58
59
<!--
Thanks to:
- question: https://stackoverflow.com/questions/16561772/creating-a-round-list-in-css-for-a-round-menubar
- example: http://www.cssplay.co.uk/menus/cssplay-round-and-round.html
-->
<html>
<head>
<title>Circle menu test</title>
<style>
*{
padding:0
margin:0
}
.holder{
position:relative
}
.rotate li:nth-child(1){
transform: rotate(60deg) translatey(10px);
}
.rotate li:nth-child(2){
transform: rotate(120deg) translatey(10px);
}
.rotate li:nth-child(3){
transform: rotate(180deg) translatey(10px);
}
.rotate li:nth-child(4){
transform: rotate(240deg) translatey(10px);
}
.rotate li:nth-child(5){
transform: rotate(300deg) translatey(10px);
}
</style>
</head>
<body>
magler
<div class="holder">
<ul>
<li>Center
<ul class="rotate">
<li> one </li>
<li> two </li>
<li> three
<ul>
<li>Jip</li>
<li>jap</li>
<li>Jop</li>
<li>lop</li>
</ul>
</li>
<li> four </li>
<li> five </li>
</ul>
</li>
</ul>
</div>
maglar
</body>
</html>