Grow your CSS skills. Land your dream job.

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

  • # July 12, 2013 at 8:42 am

    Hi,
    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.
    Hemendra

    # 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:

    http://codepen.io/Paulie-D/pen/prejy

    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.

*May or may not contain any actual "CSS" or "Tricks".