I want when I scroll the position and the opacity will go down. the opacity works but I don’t know how to set the position right with jquery.

‘100%’ is a string. You can’t do math on a string. Do the calculation on 100 as a number then add the percent character. (Math goes here)+’%’
So how would the code look?
Members
Online

source

Categories: Codingjquery