如何设计带有透明边框和背景间距的表格
问题描述:
表 css 需要什么 css 值才能看起来像这样:
what css values do I need for table css in order to look like this:
我浪费了 12 多个小时试图弄清楚.如果我不放弃,我就不会问这种愚蠢的问题.
I've wasted over 12 hours trying to figure it out. I wouldn't ask a stupid question like this if I wasn't giving up.
答
假设表格下方的背景是白色的,那么你可以尝试这样的事情
assuming the background below the table is white then you may try something like this
table, table tr, table td {
border : 1px solid white;
}
如果这不起作用,请发布一个 jsfiddle..
If this does not work then please post a jsfiddle..