i have a list which has overflow-y: scroll
property and a lot of items inside id.
I want to add opacity to last visible element in case we are not at the bottom of that list.
For example i have 100 elements and i see elements at index 5-10 (others are not visible) -> I want to add opacity to 10th element.
How can i achieve this?