-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efecto liuido subiendo a repo remoto
- Loading branch information
0 parents
commit 7a06865
Showing
15 changed files
with
1,173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap'); | ||
|
||
* { | ||
padding: 0; | ||
margin: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
.rgbKineticSlider{ | ||
display: block; | ||
position: relative; | ||
overflow: hidden; | ||
width: 100%; | ||
height: 100vh; | ||
} | ||
|
||
.rgbKineticSlider canvas{ | ||
position: absolute; | ||
display: block; | ||
top: 0; | ||
left: 0; | ||
transform: scale(1); | ||
} | ||
|
||
nav a{ | ||
color: #fff; | ||
text-emphasis: none; | ||
position: absolute; | ||
top: 50vh; | ||
z-index: 1; | ||
padding: 9px 27px; | ||
font-family: 'Poppins', sans-serif; | ||
font-size: 17px; | ||
border-bottom: 2px solid #fff; | ||
overflow: hidden; | ||
transition: .5s; | ||
} | ||
@media (max-width: 699px) { | ||
nav a{ | ||
top: 0; | ||
} | ||
} | ||
|
||
nav a:hover { | ||
color: #fff; | ||
} | ||
|
||
nav a.next { | ||
right: 20px; | ||
} | ||
|
||
nav a.prev { | ||
left: 20px; | ||
} | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!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>slider efect loquid</title> | ||
<link rel="stylesheet" href="./css/style.css" /> | ||
</head> | ||
<body> | ||
|
||
|
||
<div class="rgbKineticSlider" id="rgbKineticSlider"></div> | ||
|
||
<!-- slider nav --> | ||
<nav> | ||
<a href="#" class="main-nav prev" data-nav="previous">Prev</a> | ||
<a href="#" class="main-nav next" data-nav="next">Next</a> | ||
</nav> | ||
|
||
<script src="./js/TweenMax.min.js"></script> | ||
<script src="./js/pixi.min.js"></script> | ||
<script src="./js/rgbKineticSlider.js"></script> | ||
<script src="./js/script.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.