boyhailong
V2EX  ›  CSS

css 菜鸟问题

  •  
  •   boyhailong · Jan 8, 2016 · 3523 views
    This topic created in 3802 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
        1
    sneezry  
       Jan 8, 2016
    ..pure-menu-horizontal>ul>li {list-style: none;}
    sneezry
        2
    sneezry  
       Jan 8, 2016
    前面多写了个点,喵~
    imn1
        3
    imn1  
       Jan 8, 2016
    是你的“ About Me ”颜色太浅
    boyhailong
        4
    boyhailong  
    OP
       Jan 8, 2016
    @sneezry 敢问哪个 css 啊 😳
    sneezry
        5
    sneezry  
       Jan 8, 2016
    @boyhailong 写进 blog.css 里吧,这个文件在后面,优先级比较高。更保准一点,用下面的吧

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