-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
142 lines (127 loc) · 2.66 KB
/
style.css
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/*
* Overview: The new instagram logo
* Author: mittya
* Code: https://github.com/mittya/css-instagram-logo
*/
body {
background-color: #fff;
background-image:
linear-gradient(45deg, #d6d6d6 25%, transparent 25%, transparent 75%, #d6d6d6 75%, #d6d6d6),
linear-gradient(45deg, #d6d6d6 25%, transparent 25%, transparent 75%, #d6d6d6 75%, #d6d6d6);
background-size: 16px 16px;
background-position: 0 0, 8px 8px
}
div {
box-sizing: border-box;
}
.instagram {
position: relative;
width: 512px;
height: 512px;
overflow: hidden;
margin-left: auto;
margin-right: auto;
margin-top: 5rem;
border-radius: 110px;
box-shadow: 0 38px 70px rgba(0,0,0,.15);
background: linear-gradient(
39deg,
rgba(255,188,65,1) 0%,
rgba(193,41,166,1) 18%,
rgba(221,40,125,1) 63%,
rgba(147,28,156,1) 89%,
rgba(155,26,183,1) 100%
);
}
.purple {
position: absolute;
left: 0;
top: 0;
width: 512px;
height: 512px;
border-radius: 90px;
background: linear-gradient(
158deg,
rgba(61, 79, 208,1) 0%,
rgba(118,91,195,.8) 18%,
rgba(190, 76, 230,.5) 30%,
rgba(212, 59, 202,.56) 35%,
rgba(218,45,125,0) 82%
);
}
.red {
position: absolute;
left: -230px;
bottom: -220px;
width: 800px;
height: 550px;
border-radius: 800px / 550px;
background: radial-gradient(
ellipse closest-side,
rgba(251,77,49,1) 0%,
rgba(241,75,49,.5) 45%,
rgba(239,71,44,.15) 75%,
rgba(239,71,44,0) 100%
);
}
.orange {
position: absolute;
left: -170px;
bottom: -110px;
width: 650px;
height: 450px;
background: radial-gradient(
ellipse closest-side,
rgb(220, 135, 30) 0%,
rgba(247, 159, 51, 0.5) 40%,
rgba(247, 170, 76, 0.3) 60%,
rgba(255, 191, 57, 0) 100%
);
}
.yellow {
position: absolute;
left: -70px;
bottom: -195px;
width: 470px;
height: 350px;
background: radial-gradient(
ellipse closest-side,
rgba(247,236,108,1) 0%,
rgba(247,236,108,.4) 60%,
rgba(254,236,115,0) 100%
);
}
.border {
position: absolute;
left: 50%;
top: 50%;
width: 380px;
height: 380px;
margin-left: -190px;
margin-top: -190px;
border: 35px solid #fff;
border-radius: 120px;
box-shadow: 0 3px 10px rgba(0,0,0,.1), inset 0 6px 10px rgba(0,0,0,.1);
}
.cirlce {
position: absolute;
left: 50%;
top: 50%;
width: 198px;
height: 198px;
margin-left: -99px;
margin-top: -99px;
border: 35px solid #fff;
border-radius: 50%;
box-shadow: 0 3px 10px rgba(0,0,0,.1), inset 0 6px 10px rgba(0,0,0,.1);
}
.dot {
position: absolute;
left: 330px;
top: 130px;
width: 46px;
height: 46px;
background-color: #fff;
border-radius: 50%;
box-shadow: 0 3px 10px rgba(0,0,0,.1);
}