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 4012782
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:17:25+00:00 2026-05-20T09:17:25+00:00

I want a shadow below div called shadow: #shadow { box-shadow: 1px 1px 1px

  • 0

I want a shadow below div called “shadow”:

#shadow { box-shadow: 1px 1px 1px #000 };

Done?

Not at all. It works just in one browser. Guess which one.

For FF/Chrome I have to add not too intuitive:

-moz-box-shadow: 1px 1px 1px #000;
-webkit-box-shadow: 1px 1px 1px #000;

And now everything is ok. This scheme applies to MANY CSS properties. Why?

Luckily there’s no -webkit-border, moz-font or -ie-backgroundcolor.

PS. Yes, not a single word about IE. Calling THIS a browser is like comparing wheelchair to Modena cars.

PS 2. Why there is a logo next to Google Chrome tag below my post? Or why there are no logos for Opera & FF?

  • 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-20T09:17:25+00:00Added an answer on May 20, 2026 at 9:17 am

    It’s a way for browsers to release features before the CSS Spec is fully approved.

    For instance, look at the CSS3 gradients. -moz- vs -webkit- are completely different.

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.15, rgb(145,4,88)),
        color-stop(0.58, rgb(174,30,115)),
        color-stop(0.79, rgb(209,57,150))
    );
    background-image: -moz-linear-gradient(
        center bottom,
        rgb(145,4,88) 15%,
        rgb(174,30,115) 58%,
        rgb(209,57,150) 79%
    );
    

    This may be of interest: http://www.alistapart.com/articles/prefix-or-posthack/

    So the next time you find yourself
    grumbling about declaring the same
    thing four times, once for each
    browser, remember that the pain is
    temporary. It’s a little like a
    vaccine—the shot hurts now, true, but
    it’s really not that bad in comparison
    to the disease it prevents. And in
    this case, you’re being vaccinated
    against a bad case of multi-year
    parser hacking and browser sniffing.
    We suffered through that long plague
    once already. Prefixes will, if used
    properly, ward off another outbreak
    for a long time to come.

    NOTE: It’s good practice to include the version without the prefixes, as to continue the sites function when the property is fully adopted.

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

Sidebar

Related Questions

I want exactly like this...not a simple box but the one with shadow borders
I want to be able to see a drop shadow, but not the object
Currently I'm using this box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset; but
I use the webkit/mozilla border radius and box shadow CSS properties, but I want
I want to use css3 features like box-shadow so for that Do i need
I have a problem with my site. I want that the shadow stops at
I want create a drop shadow around the canvas component in flex. Technically speaking
I want to draw a shadow around a thumbnail in my software. It seems
I want to add a FADED shadow/outer glow to a UIImage / UIImageView /
From ant, we want to extract a line from an old /etc/shadow file, capturing

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.