$(function() { $(window).scroll(function() { $('.left-to-right, .down-to-top').each(function() { var elemPos = $(this).offset().top; var scroll = $(window).scrollTop(); var windowHeight = $(window).height(); if (scroll > elemPos - windowHeight + 150) { $(this).addClass('scrollin'); } }); }); }); 3 Y062503_210625_2 | CamelVillage リユース&リサイクル