forked from ruangrupa/lumbung.space
add randomized colors for footer
This commit is contained in:
parent
ab60c05242
commit
13845ac30c
@ -50,6 +50,12 @@
|
||||
card.classList.add('lumbung-gallery')
|
||||
}
|
||||
})
|
||||
|
||||
// footer random color
|
||||
var color = ['orange','green','blue'];
|
||||
var footer = document.getElementById("footer");
|
||||
var rand = Math.floor(Math.random() * color.length);
|
||||
footer.classList.add(color[rand]);
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user