-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
346 lines (325 loc) · 11.5 KB
/
index.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Annimay</title>
<link rel="stylesheet" href="./css/annimay.css" />
</head>
<body>
<div class="header">
<div class="main-title-wrapper">
<h1 class="main-title ann-scale-up-stay">Annimay</h1>
</div>
<div class="main-title-wrapper">
<div class="main-nav-wrapper">
<nav class="main-nav">
<a href="#animations">Animations</a><a href="#tutorial">Tutorial</a
><a href="#footer">About</a>
</nav>
</div>
<p class="description">
A collection of pure CSS3 lightweight animations that can be applied
to links, sections, buttons and much more. Available in SCSS, CSS and
LESS.
</p>
<div class="action-buttons-wrapper">
<a
href="https://github.com/edumigueis/Annimay"
target="_blank"
rel="noopener noreferrer"
class="download-btn ann-scale-down-stay ann-shutter-out-vertical"
>Download on Github</a
>
</div>
</div>
<div class="decoration first ann-rotate-anticlockwise-infinite">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="#36ff78"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 459.325 459.325"
style="enable-background: new 0 0 459.325 459.325"
xml:space="preserve"
>
<g>
<path
d="M459.319,229.668c0,22.201-17.992,40.193-40.205,40.193H269.85v149.271c0,22.207-17.998,40.199-40.196,40.193 c-11.101,0-21.149-4.492-28.416-11.763c-7.276-7.281-11.774-17.324-11.769-28.419l-0.006-149.288H40.181 c-11.094,0-21.134-4.492-28.416-11.774c-7.264-7.264-11.759-17.312-11.759-28.413C0,207.471,17.992,189.475,40.202,189.475h149.267 V40.202C189.469,17.998,207.471,0,229.671,0c22.192,0.006,40.178,17.986,40.19,40.187v149.288h149.282 C441.339,189.487,459.308,207.471,459.319,229.668z"
/>
</g>
</svg>
</div>
<div class="decoration second ann-wiggle-infinite">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="#FF5070"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 459.325 459.325"
style="enable-background: new 0 0 459.325 459.325"
xml:space="preserve"
>
<g>
<path
d="M459.319,229.668c0,22.201-17.992,40.193-40.205,40.193H269.85v149.271c0,22.207-17.998,40.199-40.196,40.193 c-11.101,0-21.149-4.492-28.416-11.763c-7.276-7.281-11.774-17.324-11.769-28.419l-0.006-149.288H40.181 c-11.094,0-21.134-4.492-28.416-11.774c-7.264-7.264-11.759-17.312-11.759-28.413C0,207.471,17.992,189.475,40.202,189.475h149.267 V40.202C189.469,17.998,207.471,0,229.671,0c22.192,0.006,40.178,17.986,40.19,40.187v149.288h149.282 C441.339,189.487,459.308,207.471,459.319,229.668z"
/>
</g>
</svg>
</div>
</div>
<div class="prop-demo-wrapper">
<div class="hover-effects-wrapper" id="animations">
<h2>Hover Effects</h2>
<div class="hover-effects">
<button class="ann-scale-up">Scale Up</button>
<button class="ann-scale-up-stay">Scale Up Stay</button>
<button class="ann-scale-down">Scale Down</button>
<button class="ann-scale-down-stay">Scale Down Stay</button>
<button class="ann-skew-forward-up">Skew Forward Up</button>
<button class="ann-skew-forward-down">Skew Forward Down</button>
<button class="ann-skew-backward-up">Skew Backward Up</button>
<button class="ann-skew-backward-down">Skew Backward Down</button>
<button class="ann-backward">Backward</button>
<button class="ann-forward">Forward</button>
<button class="ann-opacity">Opacity</button>
<button class="ann-small-opacity">Small Opacity</button>
<button class="ann-lift-clockwise">Lift Clockwise</button>
<button class="ann-lift-anticlockwise">Lift Anticlockwise</button>
<button class="ann-rotate-clockwise">Rotate Clockwise</button>
<button class="ann-rotate-anticlockwise">Rotate Anticlockwise</button>
<button class="ann-float">Float</button>
<button class="ann-float-stay">Float Stay</button>
<button class="ann-wiggle">Wiggle</button>
<button class="ann-jump">Jump</button>
<button class="ann-jump-stay">Jump Stay</button>
<button class="ann-raise">Raise</button>
<button class="ann-moving-rainbow">Moving Rainbow</button>
<button class="ann-bg-fill">Background Fill</button>
<button class="ann-bg-slide">Background Slide</button>
<button class="ann-bg-fade">Background Fade</button>
<button class="ann-rectangle-in">Rectangle In</button>
<button class="ann-rectangle-out">Rectangle Out</button>
<button class="ann-shutter-in-horizontal">Shutter In</button>
<button class="ann-shutter-in-vertical">Shutter In Vertical</button>
<button class="ann-shutter-out-horizontal">Shutter Out</button>
<button class="ann-shutter-out-vertical">Shutter Out Vertical</button>
<button class="ann-neon-backlight">Neon Backlight</button>
<button class="ann-glow">Glow</button>
<button class="ann-shadow">Shadow</button>
<button class="ann-grow-shadow">Grow Shadow</button>
<button class="ann-box-shadow-outset">Shadow Outset</button>
<button class="ann-box-shadow-inset">Shadow Inset</button>
<button class="ann-shine">Shine</button>
<button class="ann-border-fade">Border Fade</button>
<button class="ann-border-draw">Border Draw</button>
<button class="ann-round-edges">Rounded Edges</button>
<button class="ann-underline-left">Underline Left</button>
<button class="ann-underline-right">Underline Right</button>
<button class="ann-underline-center">Underline Center</button>
<button class="ann-underline-show">Underline Show</button>
<button class="ann-corner-grow">Corner Grow</button>
<button class="ann-trim-outline">Trim and Outline</button>
<button class="ann-outlined-border">Outlined Border</button>
</div>
</div>
<div class="infinite-effects-wrapper separated-wrapper">
<h2>Infinite Effects</h2>
<div class="infinite-effects">
<div class="ann-rotate-clockwise-infinite styled-div">Rotate</div>
<div class="ann-rotate-anticlockwise-infinite styled-div">Rotate</div>
<div class="ann-jump-infinite styled-div">Jump</div>
<div class="ann-wiggle-infinite styled-div">Wiggle</div>
<div class="ann-pulse-infinite styled-div">Pulse</div>
<div class="ann-bounce styled-div">Bounce</div>
<div class="ann-flash styled-div">Flash</div>
<div class="ann-hover styled-div">Hover</div>
<div class="ann-rotate-clockwise-3d styled-div">Rotate 3D</div>
<div class="ann-rotate-anticlockwise-3d styled-div">Rotate 3D</div>
<div class="ann-moving-gradient styled-simple">Moving Gradient</div>
<div class="ann-moving-gradient-opposite styled-simple">
Outlined Border
</div>
</div>
</div>
</div>
<div id="footer" class="separated-wrapper footer">
<p>Developed and designed by <a href="https://github.com/edumigueis" target="_blank" rel="noopener noreferrer">Eduardo Migueis</a>. Copyright (c) 2020.</p>
</div>
</body>
<style>
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&family=Pacifico&display=swap");
.styled-div {
background: linear-gradient(135deg, #36ff78 50%, #f9f9f9 50%);
padding: 40px 20px;
outline: none;
border-radius: 50%;
overflow: hidden;
margin: 5px 10px;
font-family: "Open Sans";
font-weight: 600;
font-size: 16px;
height: 100px;
width: 100px;
box-shadow: 1px 0px 3px 3px #00000022;
text-align: center;
}
.styled-simple {
outline: none;
border-radius: 50%;
padding: 2rem 2rem;
overflow: hidden;
margin: 5px 10px;
font-family: "Open Sans";
font-weight: 600;
font-size: 16px;
height: 120px;
width: 120px;
border: none;
text-align: center;
box-shadow: 1px 0px 3px 3px #00000022;
}
.wrapper {
width: 100vw;
}
.main-title-wrapper {
display: flex;
justify-content: center;
width: 100%;
align-items: center;
flex-wrap: wrap;
}
.main-title {
width: fit-content;
text-align: center;
font-size: 4rem;
font-family: "Pacifico";
letter-spacing: 0.07em;
margin-top: 0.8em;
}
.decoration {
position: absolute;
width: 60px;
height: 60px;
}
.decoration.first {
top: 30px;
left: 18vw;
}
.decoration.second {
position: absolute;
top: 90px;
right: 10vw;
width: 65px !important;
height: 65px !important;
box-shadow: none !important;
}
.description {
width: 34rem;
text-align: center;
font-weight: 500;
font-family: "Open Sans";
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main-nav-wrapper {
display: flex;
justify-content: center;
width: 100%;
align-items: center;
margin-top: 12px;
margin-bottom: 30px;
}
.main-nav {
display: flex;
}
.main-nav a{
margin: 0 0.5rem;
}
a {
color: #2f2e35;
font-size: 16px;
font-weight: 700;
font-family: "Open Sans";
text-decoration: none;
}
a:visited {
color: #ff5070;
}
.action-buttons-wrapper {
display: flex;
justify-content: center;
width: 100%;
align-items: center;
margin-top: 22px;
margin-bottom: 30px;
}
.download-btn {
padding: 1rem 2.5rem;
border-radius: 50px;
background: #5b5968;
font-size: 17px;
color: #f9f9f9 !important;
font-weight: 700;
font-family: "Open Sans";
text-decoration: none;
overflow: hidden;
}
.prop-demo-wrapper {
padding: 0 60px;
height: fit-content;
width: 100%;
}
.hover-effects-wrapper {
max-width: 1400px;
margin: 0 auto;
}
.infinite-effects-wrapper {
max-width: 1400px;
margin: 0 auto;
}
h2 {
font-family: "Open Sans";
font-weight: 600;
font-size: 30px;
margin-bottom: 15px;
margin-left: 5px;
}
.hover-effects button {
padding: 1rem 2.4rem;
background-color: #f9f9f9;
border: 1px solid #444444;
outline: none;
border-radius: 40px;
overflow: hidden;
margin: 5px 10px;
font-family: "Open Sans";
font-weight: 600;
font-size: 16px;
}
.separated-wrapper {
margin-top: 60px;
}
.footer{
background-color: #e2e2e2;
height: 60px;
width: 100%;
}
.footer p{
font-family: 'Open Sans';
font-size: 16px;
text-align: center;
font-weight: 600;
line-height: 60px;
}
</style>
</html>