Jump to content
Sign in to follow this  
Mercifull

CSS Border shadow

Recommended Posts

I'm getting close to launch on the new FromeFM website that I've been developing. I was staring at the box design (as in the brief) and kept thinking how flat it looked. So I've added some shadow to the boxes using CSS

 

BwvTh5j.png

 

I've used the following code to make it work in modern browsers

.box {
-webkit-box-shadow: 0 10px 6px -6px #666;
   -moz-box-shadow: 0 10px 6px -6px #666;
	 box-shadow: 0 10px 6px -6px #666;
}

 

However this doesn't work in old versions of Internet Explorer. I'm not fussed by IE6 or anything silly like that but it would be nice to get ti working at least in IE8


612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Share this post


Link to post
Share on other sites

I was hoping not to have to use another js library as it's already getting a bit bloaty but I'll give it a go and see if it affects performance. Thanks.


612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.