-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathgooglelogo.html
More file actions
66 lines (51 loc) · 980 Bytes
/
googlelogo.html
File metadata and controls
66 lines (51 loc) · 980 Bytes
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
<-- google logo -->
<div class="logo"></div>
<style>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
}
body {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.logo {
position: relative;
width: 22rem;
height: 22rem;
border-radius: 50%;
border-left: 40px solid #FBBC05;
border-right: 40px solid #4385F6;
border-top: 40px solid #EC4336;
border-bottom: 40px solid #34A856;
}
.logo:before {
content: '';
position: absolute;
top: -150px;
right: -150px;
border-top: 110px solid transparent;
border-right: 110px solid #fff;
border-bottom: 110px solid transparent;
border-left: 100px solid transparent;
transform: rotate(90deg);
}
.logo:after {
content: '';
position: absolute;
top: 50%;
right: -45px;
width: 110px;
height: 40px;
background: #4385F6;
transform: translate(-5px, -20px);
border-bottom-right-radius: 15px;
}
</style>