The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Dynamic values depending on page position

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #285049

    I’m trying to create a page where elements change scale as you scroll down. My first instinct was to use jquery to change elements css values as I scroll, however I was thinking it may be more efficient to try do it all in CSS. I have the scale (and height and width) parameters set to follow variables but can not find a way to get the page position within CSS. Am I trying the impossible?


    I think you are, there is no way to get the scroll position without JS that I know of.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.