Blog Oklahoma / Tumblr

  • Random
  • Archive
  • RSS

Quick CSS Tip: Drop Shadow

Add a drop shadow to your boxes using CSS

The box-shadow CSS property accepts one or more shadow effects as a comma-separated list. It allows to cast a drop shadow from the frame of almost any arbitrary element. If a border-radius is specified on the element with a box shadow, the box shadow will take on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text-shadows (the first specified shadow is on top).

Example Box:
-moz-box-shadow: 10px 5px 5px black;
-webkit-box-shadow: 10px 5px 5px black;
box-shadow: 10px 5px 5px black;

More information: -moz-box-shadow

( of course this doesn’t work with IE. O_o )

    • #CSS
    • #Webdev
  • 1 year ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet

1 Notes/ Hide

  1. hamdanih reblogged this from blogoklahoma
  2. blogoklahoma posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

Logo

About

< ? Blog Oklahoma * >

Started on July 25, 2003, the Blog Oklahoma web ring has grown into a diverse and interesting community of Oklahoma bloggers.

Are you someone who blogs in or about Oklahoma? Then you already qualify for web ring membership. Join Blog Oklahoma today!

Want to know more about Blog Oklahoma? Then just explore the web ring and discover some of the best blogs & podcasts in the nation.

Pages

  • Explore
  • Blog
  • Podcast
  • Google+
  • Facebook
  • Twitter

Connect

  • @blogoklahoma on Twitter
  • Facebook Profile
  • programwitch on Vimeo
  • prgwitch on Youtube
  • programwitch on Flickr
  • programwitch on Pinboard
  • programwitch on Soundcloud
  • programwitch on Foursquare
  • Google

Twitter

loading tweets…

I Dig These Posts

  • Photo via sugarazor
    Photo via sugarazor
  • Photoset via 10knotes

    Follow this blog, you will love it on your dashboard

    Photoset via 10knotes
  • Photo via merlin

    danforth:

    Good motto.

    Photo via merlin
  • Photo via barackobama

    Today’s excuse to bring this photo out again: @JoeBiden just joined Twitter.

    Photo via barackobama
See more →
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr