1
0
web/layouts/partials/particles.html

26 lines
660 B
HTML
Raw Normal View History

2024-04-27 03:19:58 +00:00
<script>
function sun_open() {
var n = document.querySelectorAll(".nasa");
var index = 0, length = n.length;
for ( ; index < length; index++) {
if (n[index].style.display == 'block') {
n[index].style.display = 'none';
} else {
n[index].style.display = 'block';
}
}
}
</script>
<link rel="stylesheet" href="/pkg/particles/particles.css" />
<div class="sun">
<div class="sun-button">
<img id="sun-img-button" src="/icon/sun.svg" onclick="sun_open()">
</div>
<div class="sun-particles">
<div id="particles-js"></div>
</div>
</div>
2024-04-07 17:50:00 +00:00
<script src="/pkg/particles/particles.min.js"></script>
<script src="/pkg/particles/config.js"></script>