comment bout a bug

This commit is contained in:
array-in-a-matrix 2024-01-16 02:29:35 -05:00
parent 5470adc4f8
commit c9f152e753

View file

@ -84,7 +84,7 @@ const posts = (await getCollection('blog')).sort(
</style>
<script>
function randomColor() {return "#000000".replace(/0/g,function(){return (~~(Math.random()*16)).toString(16);});}
gradient.style.cssText += `background: linear-gradient(45deg,${randomColor()},${randomColor()})`;
gradient.style.cssText += `background: linear-gradient(45deg,${randomColor()},${randomColor()})`; //! This is only being applied to the first element not all
</script>
</head>
<body>