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

后端 未结 4 1469
盖世英雄少女心
盖世英雄少女心 2021-01-05 20:31

Question: How does Google create the dropshadow next to the vertical scrollbar over the Google Map?

This is a screenshot depicting exactly what I\'m

4条回答
  •  长情又很酷
    2021-01-05 21:17

    It's actually a series of five razor-thin DIVs, each with decreasing opacity, stacked next to each other. You can see this for yourself by using Firebug and clicking on the shadow area.

提交回复
热议问题