开发者

How do I add a shadow to an entire table using just CSS?

I would like to add a subtle shadow to make my table look raised.

开发者_StackOverflow

Just using CSS, how do I do that?


table { box-shadow: 1px 1px 1px #999; }

More box-shadow examples here: http://www.css3.info/preview/box-shadow/


CSS3 has the box-shadow declaration. Check this article for more information.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜