Joh*_*tts 5 css jsf border primefaces panelgrid
我需要使用primefaces隐藏所有panelgrids的所有边框.我试过他没有效果:
table {
border: none;
}
table tr, table td {
border: none;
}
Run Code Online (Sandbox Code Playgroud)
我能做什么?
您需要至少与PrimeFaces默认选择器一样具体.
.ui-panelgrid>*>tr,
.ui-panelgrid .ui-panelgrid-cell {
border: none;
}
Run Code Online (Sandbox Code Playgroud)
!important除非您需要覆盖styleHTML元素上的硬编码,否则请勿使用.