The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

css to show single div and another div fade(opacity) in from group of div

  • # July 12, 2013 at 8:42 am

    I have group of div and when i clicked on any one div rest of div are blur or fade ( not visible proper) and the clicked div content shown proper . again when i clicked on another div itself show content proper rest of div not visible proper.
    can it possible with css?
    Thanks in advanced.

    # July 12, 2013 at 9:07 am

    Generally no because you require a click….but a simple bit of Jquery should be enough.

    Can you create a codepen for us to play with?

    # July 12, 2013 at 10:13 am

    My JQ skills are practically zero but with a bit of googling and cut ‘n’ paste I came up with this:

    I have no doubt there are better and prettier ways of doing it.

Viewing 3 posts - 1 through 3 (of 3 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