Skip to content

Commit 1edf45f

Browse files
Merge branch 'master' into #312/infinte-carousel
2 parents ee21996 + aa8596e commit 1edf45f

File tree

4 files changed

+109
-4
lines changed

4 files changed

+109
-4
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
7171
- [ Star Wars Intro](#-star-wars-intro)
7272
- [ Gradient Animation](#-gradient-animation)
7373
- [ Zoom when hover](#-zoom-when-hover)
74-
7574
- [Floating Labels V2](#Floating-labelV2)
7675
- [Scary animation](#scary-animation)
7776
- [growing-flower](#growing-flower)
7877
- [infinite-carousel](#infinite-carousel)
78+
79+
7980
- [Contributors](#contributors)
8081
- [Contributing](#contributing)
8182

@@ -85,8 +86,10 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
8586
- [Contributing](#contributing)
8687

8788

89+
8890
## <a id="Accordion"></a>Accordion / Toggle
8991

92+
9093
[<img src="images/accordion.png" height="230" title="Demo 1">](http://www.mraffaele.com/labs/css-only-accordions/)
9194
[<img src="images/toggler.png" height="230" title="Demo 2">](http://codepen.io/cristina-silva/pen/pyXQrj)
9295
[<img src="images/toggler2.png" height="230" title="Demo 3">](http://codepen.io/PaulZi/pen/zBbVvV)
@@ -102,6 +105,7 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
102105
<img src="images/Animated-button-1.png" height="230" title="Demo 1">
103106
<img src="images/Animated-button.png" height="230" title="Demo 2">
104107
<img src="images/Animated-button-2.png" height="230" title="Demo 2">
108+
<img src="images/liquidButton.png" height="230" title="Demo 2">
105109

106110

107111
**[⬆ back to top](#quick-links)**
@@ -503,9 +507,7 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
503507
## <a id="shuffling-squres"></a>Shuffling squares
504508
[<img src="images/shuffling-squares.gif" height="230" title="Shuffling squares">](https://im3.ezgif.com/tmp/ezgif-3-41efb679c2.gif)
505509

506-
**[⬆ back to top](#quick-links)**
507510

508-
---
509511
---
510512
## <a id="Floating-labelV2"></a>Floating-labelV2
511513
[<img src="images/Floatinglabel2.gif" height="230" title="Floating-labelV2">](https://im2.ezgif.com/tmp/ezgif-2-3297933621.gif)
@@ -515,6 +517,7 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
515517
---
516518
---
517519
## <a id="scary-animation"></a>scary-animation
520+
<<<
518521
[<img src="images/Scary-animation.gif" height="230" title="scary-animation">](https://im4.ezgif.com/tmp/ezgif-4-04e4dfec68.gif)
519522

520523
**[⬆ back to top](#quick-links)**
@@ -530,6 +533,11 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
530533
---
531534
## <a id="infinite-carousel"></a>infinite-carousel
532535
[<img src="images/infinite-carousel.gif" height="230" title="infinite-carousel">](https://im4.ezgif.com/tmp/ezgif-4-cf03115fc6.gif)
536+
=======
537+
[<img src="images/Scary-animation.gif" height="230" title="Floating-labelV2">](https://im4.ezgif.com/tmp/ezgif-4-04e4dfec68.gif)
538+
539+
=======
540+
>>>
533541
534542
**[⬆ back to top](#quick-links)**
535543

@@ -558,6 +566,14 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
558566
## <a id="zoom-when-hover"></a> Zoom when hover
559567
[<img src="image/zoom-effect.gif" height="230" title="zoom-when-hover">](https://codepen.io/kdwzrjtc-the-animator/pen/gOqOwLx)
560568

569+
---
570+
## <a id="Floating-labelV2"></a>Floating-labelV2
571+
[<img src="images/Floatinglabel2.gif" height="230" title="Floating-labelV2">](https://im2.ezgif.com/tmp/ezgif-2-3297933621.gif)
572+
573+
**[⬆ back to top](#quick-links)**
574+
575+
---
576+
561577
## Contributors
562578
Thanks to these wonderful people who have contributed to this project!
563579

ScaryAnimation/scary.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,4 @@ https://codepen.io/bullerb/pen/BzKzvK
239239
80% { transform: translateX(10%); opacity: 0.25; }
240240
90% { transform: translateX(20%); }
241241
100% { transform: translateX(30%); }
242-
}
242+

examples/liquidButton.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<style>
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
body {
9+
display: flex;
10+
align-items: center;
11+
justify-content: center;
12+
min-height: 100vh;
13+
background: #0c0c0c;
14+
}
15+
16+
a {
17+
position: relative;
18+
padding: 20px 50px;
19+
display: block;
20+
text-decoration: none;
21+
text-transform: uppercase;
22+
width: 200px;
23+
overflow: hidden;
24+
border-radius: 40px;
25+
}
26+
27+
a span {
28+
position: relative;
29+
color: #fff;
30+
font-size: 20px;
31+
font-family: Arial;
32+
letter-spacing: 8px;
33+
z-index: 1;
34+
}
35+
36+
a .liquid {
37+
position: absolute;
38+
top: -80px;
39+
left: 0;
40+
width: 200px;
41+
height: 200px;
42+
background: #4973ff;
43+
box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
44+
transition: .5s;
45+
}
46+
47+
a .liquid::after,
48+
a .liquid::before {
49+
content: '';
50+
width: 200%;
51+
height: 200%;
52+
position: absolute;
53+
top: 0;
54+
left: 50%;
55+
transform: translate(-50%, -75%);
56+
background: #000;
57+
}
58+
59+
a .liquid::before {
60+
61+
border-radius: 45%;
62+
background: rgba(20, 20, 20, 1);
63+
animation: animate 5s linear infinite;
64+
}
65+
66+
a .liquid::after {
67+
68+
border-radius: 40%;
69+
background: rgba(20, 20, 20, .5);
70+
animation: animate 10s linear infinite;
71+
}
72+
73+
a:hover .liquid{
74+
top: -120px;
75+
}
76+
77+
@keyframes animate {
78+
0% {
79+
transform: translate(-50%, -75%) rotate(0deg);
80+
}
81+
100% {
82+
transform: translate(-50%, -75%) rotate(360deg);
83+
}
84+
}
85+
</style>
86+
<a href="#">
87+
<span>Button</span>
88+
<div class="liquid"></div>
89+
</a>

images/liquidButton.png

9.38 KB
Loading

0 commit comments

Comments
 (0)