开发者

How do I create the panel shadow effect as found on Google Maps, using GWT? [duplicate]

开发者 https://www.devze.com 2023-03-20 02:29 出处:网络
This question already has answers here:开发者_如何学Python Closed 11 years ago. Possible Duplicate:
This question already has answers here: 开发者_如何学Python Closed 11 years ago.

Possible Duplicate:

HTML/CSS: How does Google create this drop shadow over their maps?

Using GWT and the Google Maps component, how do I best create the "panel shadow" effect as seen in the screenshot?

How do I create the panel shadow effect as found on Google Maps, using GWT? [duplicate]


Try the box-shadow CSS property (make sure the browsers you are targeting supports it)

-webkit-box-shadow: inset 3px 3px 5px 5px #000000;
-moz-box-shadow: inset 3px 3px 5px 5px #000000;
box-shadow: inset 3px 3px 5px 5px #000000;

Use rgba color spec with opacity to get a "lighter" shadow.

0

精彩评论

暂无评论...
验证码 换一张
取 消