Is there a way to set opacity in a css class, in jquery you could do this:
$(result).parent().css({ 'background-color': '#eeeeee', 'opacity': '0.7' })
any way?
I need to put these to properties in a css class.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are different
CSSproperties that are currently required for cross-browser compatibility.Personally I’d stick with using
jQueryto do this for you since they’ve already developed their method with multiple browsers in mind.