Html 如何识别该元素?
在我的网站上,每一篇博文的底部都有两条灰线(在主索引中也是1条) 我使用“检查”功能找不到它们--如何删除它们 示例帖子:Html 如何识别该元素?,html,css,Html,Css,在我的网站上,每一篇博文的底部都有两条灰线(在主索引中也是1条) 我使用“检查”功能找不到它们--如何删除它们 示例帖子: 该站点正在使用CSS伪代码。比如:之前和之后。它是一个CSS属性,关注标记的开始和结束。例如在网站上 #jp-relatedposts h3.jp-relatedposts-headline em:before{ content: ""; display: block; width: 100%; min-width: 30px; bo
该站点正在使用CSS伪代码。比如:之前和之后。它是一个CSS属性,关注标记的开始和结束。例如在网站上
#jp-relatedposts h3.jp-relatedposts-headline em:before{
content: "";
display: block;
width: 100%;
min-width: 30px;
border-top: 1px solid #ddd;
border-top: 1px solid rgba(0,0,0,.2);
margin-bottom: 1em;
}
把那条线移走。只需删除边框顶部样式
,或使其显示无
。希望我说的是对的
#jp-relatedposts h3.jp-relatedposts-headline em:before{
content: "";
display: none;
width: 100%;
min-width: 30px;
margin-bottom: 1em;
}
将这些行添加到样式表中
.blog .hentry, .archive .hentry, .single-post .hentry {
border-bottom: 0px !important;
}
#jp-relatedposts h3.jp-relatedposts-headline em:before {
border-top: 0px !important;
}