Highlight Center-Most List Item

  • # January 3, 2013 at 1:06 pm

    I’m having a hard time explaining this, so bear with me. Does anyone know of a way to highlight the center-most list item? By that I mean the item that is at the middle of the browser when a user is scrolling. As they continue to scroll, the next item highlights as it scrolls into the center.

    I’ve set up a codepen here: [http://codepen.io/realph/pen/iucgL](http://codepen.io/realph/pen/iucgL “”)

    Edit: Similar to something like [this](http://www.elliotcondon.com “”) I guess. Try scrolling on that site to see what I mean.

    Any help would be appreciated.

    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed