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

后端 未结 4 1456
盖世英雄少女心
盖世英雄少女心 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:03

    Chances are it's -webkit-box-shadow or -moz-box-shadow, depending on your browser.

    EDIT I just checked the page, and it's a series of

    aligned together. Look for
    in the page source (or in some kind of DOM inspector, as that would be easier). It's most likely some kind of hack they've put together to get a cool effect, but I don't know how easily reproducible this is.

提交回复
热议问题