I want a parent DIV as a container.

In that I want a DIV with a black background with a opacity of .60. I then want everything in that DIV to not adopt the .60 opacity.

How can I do this?

    .yourdiv
    {
        background-color: rgba(0, 0, 0, 0.6);
    }
    

    Note: This will not work on IE8 and below. You will only see a black background.

      Write a Reply...