miriam helen vollmeier
miriam helen vollmeier
function setLineHeight() {
const line = document.querySelector('.line');
line.style.height = document.documentElement.scrollHeight + 'px';
}
window.addEventListener('load', setLineHeight);
window.addEventListener('resize', setLineHeight);