Questions related to drawing or setting shadows on an object. It refers to graphical shadow in user interfaces and 3D rendering and not to be confused with conceptual shadows (copies) of an object, library, database etc.
Questions tagged [shadow]
2031 questions
16
votes
2 answers
Show only right and bottom parts of a shadow
How to show only right and bottom parts of a shadow?
I know box-shadow can set a bottom. but how to set in -webkit-box-shadow and -moz-box-shadow?
box-shadow-bottom: 0px 4px 4px black;

fish man
- 2,666
- 21
- 54
- 94
16
votes
2 answers
how to achieve this css3 shadow effect?
I am trying to see if its possible to achieve this kind of shadow using pure css3:
I quickly mocked this up in photoshop. I am looking for that curved shadow effect. I know its possible to get straigt shadow effects. I tried to look on google I…

LocustHorde
- 6,361
- 16
- 65
- 94
16
votes
5 answers
CSS Drop Shadow for CSS drawn arrow
I want the arrow that appears when a div is hovered here to also drop a shadow. The arrow is drawn from CSS:
.arrow {
position:absolute;
margin-top:-50px;
left:80px;
border-color: transparent transparent transparent…

UrBestFriend
- 599
- 4
- 8
- 19
16
votes
3 answers
UIView Shadow Gradient
I have created a custom UIView in my iOS project that has a drop shadow.
My aim is to apply the same gradient to the shadow as it is on the view's background.
Below is an example of how my current solid colour shadows look.
This is done through a…

calebmanley
- 421
- 1
- 5
- 16
16
votes
8 answers
How to add bottom shadow to tab layout or Toolbar in android
Hi i need add shadow under my tab layout (like in skype).
My activity xml:

puko
- 2,819
- 4
- 18
- 27
16
votes
1 answer
Why can't I set my button's shadow colour?
I'm trying to set the shadow colour on a UIButton, but all I seem to be able to get is a mid grey.
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
button.frame = CGRectMake(20, 20, 200, 100);
[button setTitle:@"a"…

nevan king
- 112,709
- 45
- 203
- 241
16
votes
3 answers
How to create a shadow drop effect around a wpf button like the google button
I am trying to create a google button in wpf. I have found the following link that specifies the google's button css style
Google button css style
Right now I have also searched the net and found out this style that resembles google's button