mirror of
https://github.com/System-End/Scrapyard.git
synced 2026-04-20 00:25:26 +00:00
randomize opacity (Idea credit: @dainfloop)
This commit is contained in:
parent
b5b82a2191
commit
b8071cf436
1 changed files with 8 additions and 1 deletions
|
|
@ -69,33 +69,40 @@
|
|||
label {
|
||||
color: ${color()};
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
button {
|
||||
color: ${color()};
|
||||
background-color: ${color()};
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
input {
|
||||
color: ${color()};
|
||||
background-color: ${color()};
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
span {
|
||||
color: ${color()};
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
h1 {
|
||||
color: ${color()};
|
||||
font-size: ${Math.floor(175+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
p {
|
||||
color: ${color()};
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}
|
||||
a {
|
||||
color: ${color()};
|
||||
text-decoration: line-through;
|
||||
font-size: ${Math.floor(75+(Math.random()*125))}%;
|
||||
opacity: ${Math.floor(50+(Math.random()*50))}%;
|
||||
}`;
|
||||
tim = setTimeout(blah, Math.round(10000+((Math.random()*15)*1000)));
|
||||
}
|
||||
|
|
@ -177,5 +184,5 @@
|
|||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<p>Made because we hate websites that work normally <3<br/>V.0.0.18<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
|
||||
<p>Made because we hate websites that work normally <3<br/>V.0.0.19<br/>Made by <a href="https://endoftimee.tech">EndOfTimee</a> and <a href="https://firepup650.com">Firepup650</a></p>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue