-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrocket1_rem_edition.html
134 lines (114 loc) · 2.37 KB
/
rocket1_rem_edition.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
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
<!DOCTYPE html>
<!--
Created using JS Bin
http://jsbin.com
Copyright (c) 2016 by anonymous (http://jsbin.com/boxizikene/1/edit)
Released under the MIT license: http://jsbin.mit-license.org
-->
<meta name="robots" content="noindex">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body{
background: #444;
}
.rocket{
position:relative;
left:100px;
/*border-bottom: 100px solid #de5746;
border-left: 50px solid transparent;
border-right: 50px solid transparent;*/
width: 8.5rem;
}
*::before,
*::after{
content: "";
position: absolute;
}
.rocket::before{
top: 15rem;
left: -0.7rem;
height: 10rem;
width: 10rem;
background: transparent;
border-radius: 100%;
box-shadow: 0 -3rem 0 1rem #de5746;
}
.rocket_header_wrapper{
height: 6rem;
width: 8.5rem;
background: transparent;
overflow:hidden;
}
.rocket_header{
height: 9rem;
width: 9rem;
background: #de5746;
border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
transform: rotate(-45deg);
transform-origin: 75% 64%;
/*margin-top: 26px;
margin-left:-3px;*/
}
.rocket_body{
position:relative;
height:12rem;
width:8.5rem;
background: #dfe2e4;
border-radius:6% 6% 30% 30% /36% 36% 85% 85%;
/*box-shadow:-8px 0 0 0 rgba(0,0,0,0.2) inset;*/
}
.rocket_body::after{
top: 2rem;
height: 3rem;
width:3rem;
background: #3a99d8;
border-radius:100%;
box-shadow: 0 0 0px 8px #444;
left:50%;
transform: translateX(-50%);
}
.rocket_fire_laucher{
width:4rem;
border-bottom:1rem solid #537595;
border-left:0.5rem solid transparent;
border-right:0.5rem solid transparent;
margin:auto;
}
.rocket_fire_laucher::after{
left:2.8rem;
width: 3rem;
height: 3rem;
border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
background: #f0c330;
transform: rotate(135deg);
box-shadow:8px -8px 0 11px #f19b2c;
z-index:-1;
animation:fire 1s infinite;
}
@keyframes fire{
100%{
box-shadow:8px -8px 0 10px #f19b2c;
}
50%{
box-shadow:8px -8px 0 12px #f19b2c;
}
0%{
box-shadow:8px -8px 0 10px #f19b2c;
}
}
</style>
</head>
<body>
<div class="rocket">
<div class="rocket_header_wrapper">
<div class="rocket_header"></div>
</div>
<div class="rocket_body"></div>
<div class="rocket_fire_laucher"></div>
</div>
</body>
</html>