![]() |
image fading
Hi guys,
I've look'd around but can't find the answer. I'd like the extremities (about 20px) of an image to fade out gradually revealing the underneath background. There is a "simple" way to achieve this with css? Many thanks in advance, nivlat |
Quote:
Code:
.background {Code:
<div class="background">CSS Transitions |
Thanks for the anwers, but I'm not looking for a "hover" effect, I need it to be a static, permanent effect.
any other ideas? thanks |
Png -24
1 Attachment(s)
Open image in editing program such as Photoshop. Use Marquee tool to select part of image you want opaque, copy/paste that opaque portion onto new layer, lower opacity of original layer below, merge layers, FILE>Save for Web>PNG-24
Alternatively could erase portion to be faded with tool opacity w=set to 25% or such. |
Thank you all for replies.
I think I probably expressed my problem in a bad way. Let's say I have a background for my html (image A) and a background for my body (image B) wich is 800px wide. I want the edges of B to disappear, gradually revealing A, regardless of monitor resolution or body position. So I can't use photoshop or such because B is not always on the same position relatively to A. Is this possible? |
| All times are GMT +1. The time now is 10:46 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.