linear-gradient
я не разработчик и не программист
как этот исходный код мне установить на сайт?
const lines = document.querySelector(".lines");
document.querySelectorAll(".items .item").forEach((el) => {
const gH = window.getComputedStyle(el).getPropertyValue("height");
const gB = window.getComputedStyle(el).getPropertyValue("background-color");
const div = document.createElement("div");
div.classList.add("line");
div.style.width = gH;
div.style.backgroundColor = gB;
lines.append(div);
});
breakpoints