Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • projects
    • website design
    • code notes
Blog Web Dev CSS Drop Shadows

CSS Drop Shadows

By Forrest Smith - Drempd.com

Adding drop shadows to elements with CSS is fairly easy:

.shadow {
   box-shadow: 3px 3px 4px #000;
}

Theoretically, you just need the bottom declaration (box-shadow), but older browsers that don\’t fully support it utilize the other declarations.

The format for all of these is the same:

box-shadow:   x-offset   y-offset    shadow blur radius    color  ;

Drop Shadow Transparency

box-shadow:5px 5px 5px rgba(0,0,0,0.3);
Posted on June 25, 2012August 26, 2022 in Web Dev
  • Web Dev

    • css
    • git
    • handlebars
    • html
    • inkscape
    • photoshop
    • php
    • sass
    • web design
    • web development

drempd | san diego, ca


home contact

adventures san diego projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance