Is there a way with Javascript or CSS3 to have the left and right side of an image fade out into the background.
Share
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.
You can overlay a PNG image over your image to get the desired effect. IE does not render partially transparent PNG images properly. For this browser you need some workaround e.g. IE PNG Fix.
Demo here
In modern browsers, you can use CSS3
box-shadowproperty for this purpose.CSS3 demo here