5

I have a problem with box-shadow. I need to have shadow only on bottom corners of div as on this image. Deos anyone know how to do that? Thanks in advance for your help. enter image description here

4

2 回答 2

4

我正在分享该示例的工作链接。

您可以使用css3.

工作演示

于 2013-08-19T09:05:17.953 回答
2

您应该使用:before:after伪 CSS 选择器。

这里有一个很好的过程描述和教程:CSS Drop-shadows

此处的效果演示:演示页面

如果你使用 SASS / SCSS 到这里来获取一个 mixin 来自动为你生成效果。

于 2013-08-19T09:06:48.833 回答