Sorry, I should have been more clear. Setting work to .6 and the
children to 1 won't work. The children then become 100% of their
parent. Also opacity can't be set beyond 100%, so you can't go 1.4. I
have tried all of these before in previous projects with absolute
fail.

That being said, other commenters are right that you should assign it
in the CSS file. For you jquery, I would then add/remove the class
dynamically.

On Dec 6, 9:00 pm, Many <martin.clav...@gmail.com> wrote:
> Hey,
>
> <div class="work">
>     <div class="title">DEMO</div>
>     <div class="logo"><img src="images/demo.jpg" /></div>
> </div>
>
> I want to set opacity to ".work" , it works fine if i do $(".work").css
> ("opacity","0.6"); but, i don't want the class title and logo have
> this opacity, how can i fix it?
>
> Thanks for reading!!

Reply via email to