div#page_wrapper.wrap div>span{
display:none!important;
//用span去掉百家号里面的广告
//关键是第一个元素之后的元素
//div:nth-last-child(-n+3){,没用
//就这个靠谱
}
百度百家号的块,就是div下的一系列子元素后的最后两个div块.然后试了一下,如上面的nth-last-chile(-n+3)
感觉没用.
css这几个方法很不方便.不如来个从到
方法.这样从到(-3,0)
不就完了.
最后用的是div>span块.