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.
问问题
3541 次
2 回答
4
于 2013-08-19T09:05:17.953 回答
2
您应该使用:before
和:after
伪 CSS 选择器。
这里有一个很好的过程描述和教程:CSS Drop-shadows
此处的效果演示:演示页面
如果你使用 SASS / SCSS 到这里来获取一个 mixin 来自动为你生成效果。
于 2013-08-19T09:06:48.833 回答