boyhailong
V2EX  ›  CSS

css 菜鸟问题

  •  
  •   boyhailong · Jan 8, 2016 · 3893 views
    This topic created in 3970 days ago, the information mentioned may be changed or developed.

    写了个博客,用了开源的 css ,但是发现底部一直会有个小黑点
    这尼玛怎么破?
    传送门: https://allenzhao.herokuapp.com/

    12 replies  •  2016-01-08 13:59:50 +08:00
    sneezry
    sneezry
    Jan 8, 2016
    1
    ..pure-menu-horizontal>ul>li {list-style: none;}
    sneezry
    sneezry
    Jan 8, 2016
    2
    前面多写了个点,喵~
    imn1
    imn1
    Jan 8, 2016
    3
    是你的“ About Me ”颜色太浅
    boyhailong
    boyhailong
    OP
    Jan 8, 2016
    4
    @sneezry 敢问哪个 css 啊 😳
    sneezry
    sneezry
    Jan 8, 2016
    5
    @boyhailong 写进 blog.css 里吧,这个文件在后面,优先级比较高。更保准一点,用下面的吧

    .footer>.pure-menu-horizontal>ul>li {list-style: none;}
    boyhailong
    boyhailong
    OP
    Jan 8, 2016
    6
    @sneezry 试了 没生效呢
    IamJ
    IamJ
    Jan 8, 2016
    7
    重置样式没写好,加上
    ul { list-style: none;}
    就行
    boyhailong
    boyhailong
    OP
    Jan 8, 2016
    8
    @IamJ 哈哈 正常了 谢谢啦!
    sneezry
    sneezry
    Jan 8, 2016
    9
    @IamJ 这样影响太广了啊……楼主博客里的列表前面都不会有圆点了……
    boyhailong
    boyhailong
    OP
    Jan 8, 2016
    10
    @sneezry 表示刚入坑 有机会学下 css
    IamJ
    IamJ
    Jan 8, 2016
    11
    @sneezry 圆点在各个浏览器表现都不一致,都会在 css reset 中加入这个重置,如果想要圆点,都会用自定义的
    IamJ
    IamJ
    Jan 8, 2016
    12
    关键字就是 css reset ,自己去了解吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   966 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:41 · PVG 03:41 · LAX 11:41 · JFK 14:41
    ♥ Do have faith in what you're doing.