-
Notifications
You must be signed in to change notification settings - Fork 0
/
073_happy_tiger.html
99 lines (99 loc) · 2.31 KB
/
073_happy_tiger.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
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Happy Tiger</title>
<style>
* {
margin: 0;
}
section {
position: relative;
width: 400px;
height: 300px;
background: #F3AC3C;
display: flex;
justify-content: center;
align-items: center;
}
a,div,p,b,i,h1 {
position: absolute;
}
a {
width: 40px;
height: 40px;
background: #1A4341;
border: 10px solid #998235;
border-radius: 50%;
top: 65px;
left: 115px;
}
a[i] {
left: 225px;
}
div {
width: 150px;
height: 150px;
background: #998235;
border-radius: 75px 75px 60px 60px;
overflow: hidden;
}
p {
width: 50px;
height: 50px;
background: #1A4341;
transform: rotate(45deg);
top: -35px;
left: 50px;
}
b {
width: 20px;
height: 20px;
background: #1A4341;
border-radius: 50%;
top: 135px;
left: 150px;
}
b[i] {
left: 230px;
}
i {
width: 100px;
height: 40px;
background: #FFFFFF;
border-radius: 20px 20px 50px 50px;
top: 170px;
left: 150px;
}
h1 {
width: 20px;
height: 40px;
border: 10px solid #1A4341;
border-radius: 50px;
clip-path: polygon(0 100%, 100% 100%, 100% 20px, 50% 20px, 50% 40px, 0 40px);
top: 140px;
left: 165px;
}
h1[i] {
clip-path: polygon(50% 20px, 50% 40px, 100% 40px, 100% 100%, 0 100%, 0 20px);
left: 195px;
}
</style>
</head>
<body>
<section>
<a></a>
<a i></a>
<div>
<p></p>
</div>
<b></b>
<b i></b>
<i></i>
<h1></h1>
<h1 i></h1>
</section>
</body>
</html>