Is there a way to render background texture with alpha in a webpage? I want to have texture on top of a gradient so I can see through it.
I’m not using canvas for this (although I do use canvas for some other animation effect)
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 achieve that with CSS3 Multiple Backgrounds and CSS3 Gradients. Here is a good article on the subject.
Edit: To clarify, you basically need to just define two backgrounds on the object. First one would be the gradient while the second would be the alpha texture.