comment bout a bug
This commit is contained in:
parent
5470adc4f8
commit
c9f152e753
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue