我想在使用google-code-prettify时删除代码的边框。我尝试了以下方法,但没有得到任何结果。
pre.prettyprint {
border: none;
}我还尝试删除所有pre标签上的边框,同样没有结果。
pre {
border: none;
}发布于 2013-06-10 10:08:58
我认为你需要告诉浏览器它应该听哪组样式指令。!important属性应该告诉te浏览器您希望您的css优先。
pre.prettyprint {
border: none !important;
}https://stackoverflow.com/questions/16881770
复制相似问题