Skip to content

Commit

Permalink
Merge branch 'master' into you-dont-need#158/Growing-flower
Browse files Browse the repository at this point in the history
  • Loading branch information
shreenarayan123 committed Oct 22, 2023
2 parents f9dc747 + aa8596e commit 5503910
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 2 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
- [Floating Labels V2](#Floating-labelV2)
- [Scary animation](#scary-animation)
- [growing-flower](#growing-flower)
=======

- [Contributors](#contributors)
- [Contributing](#contributing)

Expand All @@ -83,8 +85,11 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
- [Contributing](#contributing)



=====
## <a id="Accordion"></a>Accordion / Toggle


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


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

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

---
---
## <a id="Floating-labelV2"></a>Floating-labelV2
[<img src="images/Floatinglabel2.gif" height="230" title="Floating-labelV2">](https://im2.ezgif.com/tmp/ezgif-2-3297933621.gif)
Expand All @@ -513,6 +517,7 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
---
---
## <a id="scary-animation"></a>scary-animation

[<img src="images/Scary-animation.gif" height="230" title="scary-animation">](https://im4.ezgif.com/tmp/ezgif-4-04e4dfec68.gif)

**[⬆ back to top](#quick-links)**
Expand All @@ -521,6 +526,11 @@ Please be aware that the demos may exhibit significant accessibility issues, suc
---
## <a id="growing-flower"></a>growing-flower
[<img src="images/growing-flower.gif" height="230" title="growing-flower">](https://im3.ezgif.com/tmp/ezgif-3-f53ebce80a.gif)
=======
[<img src="images/Scary-animation.gif" height="230" title="Floating-labelV2">](https://im4.ezgif.com/tmp/ezgif-4-04e4dfec68.gif)

=======


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

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

---
## <a id="Floating-labelV2"></a>Floating-labelV2
[<img src="images/Floatinglabel2.gif" height="230" title="Floating-labelV2">](https://im2.ezgif.com/tmp/ezgif-2-3297933621.gif)

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

---

## Contributors
Thanks to these wonderful people who have contributed to this project!

Expand Down
89 changes: 89 additions & 0 deletions examples/liquidButton.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #0c0c0c;
}

a {
position: relative;
padding: 20px 50px;
display: block;
text-decoration: none;
text-transform: uppercase;
width: 200px;
overflow: hidden;
border-radius: 40px;
}

a span {
position: relative;
color: #fff;
font-size: 20px;
font-family: Arial;
letter-spacing: 8px;
z-index: 1;
}

a .liquid {
position: absolute;
top: -80px;
left: 0;
width: 200px;
height: 200px;
background: #4973ff;
box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
transition: .5s;
}

a .liquid::after,
a .liquid::before {
content: '';
width: 200%;
height: 200%;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -75%);
background: #000;
}

a .liquid::before {

border-radius: 45%;
background: rgba(20, 20, 20, 1);
animation: animate 5s linear infinite;
}

a .liquid::after {

border-radius: 40%;
background: rgba(20, 20, 20, .5);
animation: animate 10s linear infinite;
}

a:hover .liquid{
top: -120px;
}

@keyframes animate {
0% {
transform: translate(-50%, -75%) rotate(0deg);
}
100% {
transform: translate(-50%, -75%) rotate(360deg);
}
}
</style>
<a href="#">
<span>Button</span>
<div class="liquid"></div>
</a>
Binary file added images/liquidButton.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5503910

Please sign in to comment.