如何设计带有透明边框和背景间距的表格 [英] How to design a table with transparent borders and spacing with background
本文介绍了如何设计带有透明边框和背景间距的表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
表 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..
这篇关于如何设计带有透明边框和背景间距的表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文