| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2006
Posts: 28
|
Shadow on pictures with CSS
How do i get shadow on images with css? Like they have on these: http://portfolio.cgsociety.org/ http://browse.deviantart.com/ |
|
|
|
|
|
#2 (permalink) |
|
fucksocks™
Join Date: Jun 2005
Location: in the boosh
Posts: 1,630
|
a quick look at deviantart reveals a span with a drop-shadow background image and padding which wraps round the img/a tags. I'm not sure if they've created a numerous image versions for all the dimensions or are using server image-manipulation, but thats how they do it. |
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Dec 2004
Posts: 63
|
These may be useful; http://www.alistapart.com/articles/cssdropshadows/ http://www.sitepoint.com/examples/dropshadows/ Hope they help. |
|
|
|
#4 (permalink) |
|
hmmm...
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
|
deviant art is using server side image-manipulation http://sh.deviantart.com/shadow/alph...00/71/logo.png last two numbers are width & height How the processing works is anyone's guess though. Mine is they've got the corners and the sides seperately. |
|
![]() |