Home › Forums › CSS › Drop shadow on top and bottom of element? Please help! › Re: Drop shadow on top and bottom of element? Please help!
January 26, 2012 at 12:04 pm
#95462
dfogge
Participant
i had to do this recently, and the way i accomplished it was by adding inset drop shadows to the areas above and below the main content area.
try something like this:
header {
box-shadow:inset 0 -15px 5px -16px #111;
}
footer {
box-shadow:inset 0 15px 5px -16px #111;
}