Friday, August 10, 2012

A Better Way to Add a ‘selected’ Class to Links in Rails

A Better Way to Add a ‘selected’ Class to Links in Rails: Adding a "selected" CSS class to navigation items (usually when they match the current page or section of a site) is a required step in almost every build-out. For some reason, it always seems to be a pain. There are plenty of ways to go about this, but most of them tend to be awkward, …

DIGITAL JUICE

No comments:

Post a Comment

Thank's!