This is a discussion on "CSS drop shadow effects with images" within the Web Page Design section. This forum, and the thread "CSS drop shadow effects with images are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS drop shadow effects with images
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS drop shadow effects with images
http://www.alistapart.com/articles/cssdropshadows
If an image has a jagged edge (say a gif with transparent background), can a drop shadow be added automatically with CSS to follow the edges of the image, without having to create a separate image for the shadow? Probably not. If we're talking straight edges, can a drop shadow be added like in the above tutorial, that blends into a background texture, ie not a flat colour background? I need whatever shadow effect I use to blend in seamlessly (at least in modern browsers). Jason |
|
|
|
|||
|
Re: CSS drop shadow effects with images
I am pretty sure the answer is no, because browsers render an image in box format (i.e. height and width). The only difference between an image with a jagged or curvy edge and an image with a straight edge is what is seen visually. The browser doesn't know the difference.
|
|
||||
|
Re: CSS drop shadow effects with images
Quote:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Tags |
| drop shadow image |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying a drop shadow design, IE won't let me. | Henrik Hansen | Web Page Design | 7 | Sep 26th, 2007 18:29 |
| Expanding background drop shadow | konnor5092 | Web Page Design | 1 | Feb 22nd, 2007 07:39 |
| drop shadow?? | karloff | Graphics and 3D | 7 | Aug 4th, 2006 14:08 |
| Need help Short Cut Keys on Drop Shadow in Fireworks | csun | Graphics and 3D | 1 | Jul 7th, 2006 13:23 |
| Drop Shadow w/fireworks | liquid | Graphics and 3D | 4 | Dec 24th, 2003 09:15 |