Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5847039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:39:43+00:00 2026-05-22T12:39:43+00:00

Is it possible to create both an outer shadow for a 3D effect and

  • 0

Is it possible to create both an outer shadow for a 3D effect and an inner inset glow? I have a div with a lime green background that’s on top of a blue div. So far, I have the following:

.greendiv{
   background:darkgreen;
   box-shadow: box-shadow: 10px -7px 15px darkgray;
   box-shadow: lightgreen 0px 0px 3px inset;
}

The actual colors are in #ffffff format. It seems that the second declaration cancels the first one. Is there a way around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:39:44+00:00Added an answer on May 22, 2026 at 12:39 pm

    You simply declare box-shadow once, and use both versions inside, separated with a comma:

    http://www.w3.org/TR/css3-background/#the-box-shadow

    The ‘box-shadow’ property attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional ‘inset’ keyword.

    So, for you:

    .greendiv {
        background: darkgreen;
        box-shadow: 10px -7px 15px darkgray, lightgreen 0px 0px 3px inset;
    }
    

    See: http://jsfiddle.net/JzsAh/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Monotouch or Titanium for rapid application development on IPhone? I have an
I am implementing a web service and I have implemented both a REST and
Question : Is it possible to return using OUT : Both : A variable
I was asked to create a screensaver capable to run on both win and
What’s the best way of generating a unique key, that can’t be guessed easily?
I'm building a job site where you have two types of users who sign
I have two MySQL tables say A and B. A contains just one varchar
Recently, I bought a domain name at www.active-domain.com I use it for my home
Our app uses the PHP- aswell as the JS-SDK of Facebook. We are able
I'm trying to integrate two Fortran 9x codes which contain data arrays with opposite

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.