-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbulb.html
94 lines (85 loc) · 1.84 KB
/
bulb.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bulb</title>
<style media="screen">
body {
background: #000;
margin-top: 100px;
}
div {
margin: auto;
}
.bulb {
position: relative;
height: 266px;
width: 200px;
border: 4px solid #fff;
border-radius: 48% 50% 33% 33% / 60% 60% 40% 40%;
box-shadow: 0px -50px 72px 28px #fff, 0px 0px 84px 80px #fff inset;
}
.bulb:before {
position: absolute;
content:'';
height: 5px;
width: 70px;
left:30%;
top:50%;
border-top:2px solid #fff;
border-radius: 50%;
box-shadow: 10px 10px 10px 10px #fff inset, 0px 0px 90px 79px #fff;
}
.bulb:after {
position: absolute;
content: '';
height: 16px;
width: 50px;
border: 2px solid #fff;
top: 100%;
left: 36%;
border-radius: 0px 0px 20px 20px;
box-shadow: 0px 0px 0px 1px #fff inset;
}
.bulb .thread {
position: absolute;
content: '';
height: 28px;
width: 45px;
border: 2px solid #fff;
top: 100%;
left: 37%;
border-radius: 0px 0px 11px 11px;
box-shadow: 0px 0px 0px 3px #fff inset;
}
.thread>.thread {
top: 50%;
left: 0%;
height: 26px;
width: 39px;
box-shadow: 0px 0px 0px 1px #fff inset;
}
.thread>.thread .point {
position: absolute;
transform: rotate(180deg);
border-bottom: 10px solid #eee;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
height: 0;
width: 21px;
top: 25px;
left: 10%;
}
</style>
</head>
<body>
<div class="bulb">
<div class="thread">
<div class="thread">
<div class="point">
</div>
</div>
</div>
</div>
</body>
</html>