我使用以下方式删除我的primefaces面板组件的所有边框:
第一项:
.table, table td {
border-style: hidden !important;
}另一个:
.table, table tr, table td {
border: none !important;
}边界和边界类型的属性有什么区别?
发布于 2013-09-19 15:05:33
border是设置边框属性的速记符号。
请参阅详细信息:http://www.w3.org/TR/css3-background/#the-border-shorthands
发布于 2013-09-19 15:04:58
border-style定义边框的类型(或样式):实心、虚线、虚线、隐藏等。
border在一个定义中定义了所有边框属性,因此它包括了上面的样式,以及类似于此的颜色和宽度(属性顺序不重要):border: <width> <style> <color>;
https://stackoverflow.com/questions/18898155
复制相似问题