forked from vinodselvin/css-objects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapple-logo.html
More file actions
79 lines (75 loc) · 2.24 KB
/
apple-logo.html
File metadata and controls
79 lines (75 loc) · 2.24 KB
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
<!DOCTYPE html>
<html>
<head>
<style>
.apple{
width: 125px;
padding: 20px;
}
.apple .body{
width: 60px;
height: 85px;
border: 3px solid #999999;
background: #999999;
border-top-left-radius: 40%;
border-bottom-left-radius: 60%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
display: inline-block;
}
.apple .body-right{
width: 60px;
height: 85px;
border: 3px solid #999999;
background: #999999;
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
border-top-right-radius: 40%;
border-bottom-right-radius: 60%;
display: inline-block;
margin-left: -35px;
}
.apple .body-eaten{
width: 30px;
height: 45px;
background: #ffffff;
border-radius: 50%;
display: inline-block;
margin-left: -22px;
margin-bottom: 36px;
}
.apple .leaf{
width: 20px;
height: 30px;
background: #999999;
border-radius: 100% 0% 100% 0%;
margin: auto;
margin-left: 50px;
}
.apple .text{
color: #999999;
font-size: 30px;
margin-left: -20px;
font-weight: bold;
text-align: center;
font-family: sans-serif;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="apple">
<div class="leaf">
</div>
<span class="body">
</span>
<span class="body-right">
</span>
<span class="body-eaten">
</span>
<div class="text">
Apple
</div>
</div>
</body>
</html>