forked from vinodselvin/css-objects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspotify-logo.html
More file actions
100 lines (89 loc) · 2.14 KB
/
spotify-logo.html
File metadata and controls
100 lines (89 loc) · 2.14 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Spotify-Logo</title>
<style>
*, ::before, ::after {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
}
.spotify {
position: relative;
margin: 20px auto;
width: 240px;
height: 240px;
border-radius: 50%;
background-color: #1DB954;
box-shadow: 0 0 4px rgba(0, 0, 0, .5);
overflow: hidden;
}
.Curve {
position: absolute;
width: 320px;
height: 200px;
border-radius: 50%;
border: 30px solid #191414;
border-right-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
transform: rotate(8deg) scale(.7);
}
.Curve::before,
.Curve::after {
content: '';
position: absolute;
width: 29px;
height: 29px;
border-radius: 50%;
}
.Curve::before {
top: 0;
left: 5px;
}
.Curve::after {
top: 1px;
right: 4px;
}
.topCurve {
top: 20px;
left: -40px;
}
.topCurve::before,
.topCurve::after {
background: #191414;
}
.midCurve {
top: 53px;
left: -44px;
transform: rotate(8deg) scale(.6);
border-top-color: #191414;
}
.midCurve::before,
.midCurve::after {
background: #191414;
}
.bottomCurve {
top: 80px;
left: -49px;
transform: rotate(8deg) scale(.5);
border-top-color: #191414;
}
.bottomCurve::before,
.bottomCurve::after {
background: #191414;
}
</style>
</head>
<body>
<div class="spotify">
<div class="Curve topCurve"></div>
<div class="Curve midCurve"></div>
<div class="Curve bottomCurve"></div>
</div>
</body>
</html>