Questions tagged [dropshadow]
361 questions
119
votes
13 answers
Android View shadow
I searched around, and I could not find a proper way to do this. I want to have the following shadow effects on my views:
To be honest, I do not know if this second one is done by applying shadow effect. Any ideas?

longwalker
- 1,614
- 2
- 13
- 18
116
votes
3 answers
css3 drop shadow under another div, z-index not working
i'm trying to use a drop shadow to make it look like one div (the header) is "above" another. my problem is that the "middle" div is covering the drop shadow. i tried using z-index to put the header div about the middle div, but it's not working…

vee
- 1,167
- 2
- 8
- 6
99
votes
11 answers
Custom ImageView with drop shadow
Okay, I've been reading and searching around, and am now banging my head against the wall trying to figure this out. Here's what I have so far:
package com.pockdroid.sandbox;
import android.content.Context;
import android.graphics.Canvas;
import…

Kevin Coppock
- 133,643
- 45
- 263
- 274
61
votes
5 answers
CSS Speech Bubble with Box Shadow
Creating a DIV that uses CSS to draw a triangle to the left. Trying to apply a uniform box-shadow to both parent and the pseudo element (see images) and code.
Is this possible? Or am I better off using border-image for this?
(Top: Before Shadow,…

Lord Varlin
- 834
- 1
- 8
- 13
54
votes
7 answers
apply drop shadow to border-top only?
How do you apply a drop shadow to a specific border edge?
For example, I have the following code:
header nav {
border-top: 1px solid #202020;
margin-top: 25px;
width: 158px;
padding-top:25px;
}
I want a drop shadow (1px 1px 1px…

AMC
- 1,603
- 11
- 43
- 74
48
votes
3 answers
WPF drop shadow
Whenever I set the Border.Effect property to a drop shadow effect every control contained within the control has a drop shadow.
Is there a way to set the shadow just to the border and not every control contained in the border?
Here is a short…

Petezah
- 1,465
- 4
- 26
- 30
47
votes
6 answers
Drop shadow on a div container?
I have a searchbox with auto-suggest that pops a div up underneath it with multiple search string suggestions (like google). Is it possible to have drop shadow on the auto-suggest box with CSS or will I need a script of some sort? I tried a…
Mike
39
votes
5 answers
Android Drop Shadow on View
I have done some extensive searching for code examples on this but cannot find anything.
In particular, I am looking to add a shadow to a png drawable I am using in an ImageView. This png drawable is a rounded rect with transparent corners.
Can…

coneybeare
- 33,113
- 21
- 131
- 183
30
votes
5 answers
Flutter - Container BoxShadow disappears on scroll in a ListView
This is what my Container looks like:
new Container(
width: 500.0,
height: 250.0,
padding: new EdgeInsets.fromLTRB(20.0, 40.0, 20.0, 40.0),
decoration: new BoxDecoration(
color: const Color(0xFF66BB6A),
…

OhMad
- 6,871
- 20
- 56
- 85
28
votes
4 answers
DropShadow for WPF Borderless Window
I have a WPF Window with WindowStyle set to none. Is there some way I can force this window to drop a shadow (like the one you get when WindowStyle is not none)? I don't want to set AllowTransparency to true, because it affects the performance. And…

TripShock
- 4,081
- 5
- 30
- 39
28
votes
4 answers
JavaFX effect on background
I'm using this to make a iOS-themed JavaFX2 (Java7) application with a frosted glass effect. The problem is that this code uses its effect on an ImageView. I'd like it to use its effect on whatever's behind the window, like this:
Is there anyway to…

Taconut
- 951
- 4
- 10
- 29
27
votes
3 answers
WPF: Why does text and elements blur if I use dropshadow effect on a parent item
If I add a DropShadowEffect to an parent element the text of the child elements are blurred. Why?
…

Smolla
- 1,711
- 2
- 20
- 18
26
votes
2 answers
WPF Dropshadow on Button causes blurry text
This is kind of driving me insane. Adding a DropShadowEffect to a button. In the IDE it looks like this:
Second button is for reference with no DropShadowEffect. As you can see there next no difference. Then I build the project and when it runs…

Xaphann
- 3,195
- 10
- 42
- 70
26
votes
5 answers
Drop Shadow On A Borderless WinForm
I'm trying to drop a shadow around the whole form just like the first picture, except that that is a WPF, not a WinForm. now I want to drop the same shadow on a winform.
This is what I want..¬
Not this..¬

Sam Oyl
- 361
- 1
- 5
- 12
24
votes
5 answers
How to add a blurred drop shadow to a button?
I need to add blurred drop shadow to my button:
I tried to create background with layer-list xml drawable, but it not looks like blur.
…

Vlad Morzhanov
- 1,260
- 3
- 14
- 29