var observer = lozad(".lazy", {
	rootMargin: "50vh 50vw",
	threshold: 0
});
observer.observe();

var observer = lozad(".lazy", {
	rootMargin: "25%",
	threshold: 0
});
observer.observe();

Set observer rootMargin to a percentage since viewport units are invalid.
Set observer rootMargin to a percentage since viewport units are invalid.
