58

Currently I'm using this

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;

but on specific size of screen I don't want box-shadow.

How can i override to disable the shadow?

0

1 Answer 1

122

Use CSS3:: Media Queries to create style based on the screen resolution. And use

box-shadow: none;

To disable the shadow.

2
  • 1
    Oh ok. I know about media query I was just looking for unset box shadow. Thanks. didn't thought it was so easy :) Jan 15, 2012 at 16:56
  • How about in the case of an Ipad 2 which has a resolution of 1500x, but I do want mobile laptop user's with a small screen to see it .. Dec 9, 2014 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.