哪位前端大拿给改下这个 V2EX 自定义 CSS

2016-05-11 13:59:31 +08:00
 romotc
#Rightbar .cell:nth-child(1),#Rightbar .cell:nth-child(2){
border-bottom: 0px;
}
1282 次点击
所在节点    问与答
8 条回复
loading
2016-05-11 14:06:12 +08:00
没看懂
romotc
2016-05-11 14:28:19 +08:00
只是想把右侧创作新主题上面的进度条上下的线去掉,但是影响到 TopicsHot 了
@loading
loading
2016-05-11 14:33:10 +08:00
你可以
#TopicsHot 补回去。
loading
2016-05-11 14:36:21 +08:00
送脏代码:


#Rightbar .cell:nth-child(1),#Rightbar .cell:nth-child(2){
border-bottom: 0px;
}
#TopicsHot .cell {border-bottom: 1px solid #E2E2E2 !important;}
loading
2016-05-11 14:37:52 +08:00
似乎很多都受影响了,你自己再补几行吧。
loading
2016-05-11 14:42:15 +08:00
我太傻了。。。

#Rightbar > div:nth-child(2) > div:nth-child(1),#Rightbar > div:nth-child(2) > div:nth-child(2)
{border-bottom: 0px; }
ragnaroks
2016-05-11 14:49:28 +08:00
#Rightbar .cell[style="padding: 5px;"]{xxxxxx}
caoyue
2016-05-11 15:33:21 +08:00
不知道怎么写 selector 的时候,开 Chrome 的开发者工具
选中你需要的部分,在 Elements 面板上,右键你选择的部分, Copy -> Copy selector

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/277883

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX