-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90e2e1e
commit 3211181
Showing
8 changed files
with
156 additions
and
3 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
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
Binary file not shown.
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,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" > | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>CodePen - tsParticles - Make it rain 💵!! - Dollars confetti</title> | ||
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css'><link rel="stylesheet" href="./style.css"> | ||
|
||
</head> | ||
<body> | ||
<!-- partial:index.partial.html --> | ||
<div id="tsparticles"></div> | ||
<!-- partial --> | ||
<script src='https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.min.js'></script> | ||
<script src='https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.preset.confetti.min.js'></script><script src="./script.js"></script> | ||
|
||
</body> | ||
</html> |
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,88 @@ | ||
(async () => { | ||
//await loadConfettiPreset(tsParticles); | ||
|
||
await tsParticles.load("tsparticles", { | ||
particles: { | ||
shape: { | ||
character: { | ||
fill: false, | ||
font: "Verdana", | ||
style: "", | ||
value: "*", | ||
weight: "400" | ||
}, | ||
image: [ | ||
{ | ||
src: "R.png", | ||
width: 32, | ||
height: 32 | ||
}, | ||
{ | ||
src: "Python.png", | ||
width: 320, | ||
height: 320 | ||
} | ||
], | ||
polygon: { | ||
nb_sides: 5 | ||
}, | ||
stroke: { | ||
color: "#000000", | ||
width: 0 | ||
}, | ||
type: "image" | ||
}, | ||
life: { | ||
duration: { | ||
value: 0 | ||
} | ||
}, | ||
number: { | ||
value: 15, | ||
max: 0, | ||
density: { | ||
enable: true | ||
} | ||
}, | ||
move: { | ||
enable: true, | ||
gravity: { | ||
enable: false | ||
}, | ||
decay: 0, | ||
direction: "bottom", | ||
speed: 2, | ||
outModes: { | ||
default: "out", | ||
left: "out", | ||
right: "out", | ||
bottom: "out", | ||
top: "out" | ||
} | ||
}, | ||
size: { | ||
value: 100 | ||
}, | ||
opacity: { | ||
value: 1, | ||
animation: { | ||
enable: false | ||
} | ||
} | ||
}, | ||
background: { | ||
color: "#232323", | ||
opacity: 0 | ||
}, | ||
emitters: [], | ||
interactivity: { | ||
events: { | ||
onClick: { | ||
enable: true, | ||
mode: "repulse" | ||
} | ||
} | ||
}, | ||
preset: "confetti" | ||
}); | ||
})(); |
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,30 @@ | ||
/* ---- reset ---- */ | ||
.github { | ||
bottom: 10px; | ||
right: 10px; | ||
position: fixed; | ||
border-radius: 10px; | ||
background: #fff; | ||
padding: 0 12px 6px 12px; | ||
border: 1px solid #000; | ||
z-index: 2000; | ||
} | ||
|
||
.github a:hover, | ||
.github a:link, | ||
.github a:visited, | ||
.github a:active { | ||
color: #000; | ||
text-decoration: none; | ||
} | ||
|
||
.github img { | ||
height: 30px; | ||
} | ||
|
||
.github #gh-project { | ||
font-size: 20px; | ||
padding-left: 5px; | ||
font-weight: bold; | ||
vertical-align: bottom; | ||
} |