To do what you want with drop-shadow
specifically:
let array = [];
for (let i = 1; i < 101; i++) {
const element = `drop-shadow(${i}px ${i}px #0e96ff)`;
array.push(element);
}
//css property
let style = { filter: array.join(' ')};
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…