simple26
V2EX  ›  GitHub

求解: jekyll blog 似乎在 Safari 和 手机 中无法加载 css

  •  
  •   simple26 ·
    liuchengxu · Dec 30, 2016 · 2174 views
    This topic created in 3488 days ago, the information mentioned may be changed or developed.

    http://www.liuchengxu.org (绝不是秀博客.....)

    在 firefox 与 chrome 中,都是正常的,不过意外发现在 Safari 中似乎 css 挂了,后来再一看手机好像也挂了....

    一脸懵逼,是哪里出了什么问题吗?

    github 地址

    6 replies    2016-12-30 21:53:37 +08:00
    Aspx
        1
    Aspx  
       Dec 30, 2016   ❤️ 1
    http://localhost:4000/assets/images/think.jpg
    ??
    你确定 chrome 下是正常的?
    Aspx
        2
    Aspx  
       Dec 30, 2016
    另外, css 文件应该要在框架中引用啊。我不太懂你们前端,但是应该还是要引用才能用的啊
    simple26
        3
    simple26  
    OP
       Dec 30, 2016
    @Aspx 确实正常啊.... firefox chrome 都正常, Safari 不正常


    我也不是专业搞前端的......, localhost:4000 这个点我也不懂,只是看模板这么写了,好像也没啥影响就没改。
    debiann
        4
    debiann  
       Dec 30, 2016   ❤️ 1
    href="http://localhost:4000/"

    这能正常才怪了。。。
    Aspx
        5
    Aspx  
       Dec 30, 2016
    @simple26 本地预览,你让我们怎么看?试试在 header 或者 index 文件中加一句 css 引用描述吧(只是建议,我不懂前端)
    simple26
        6
    simple26  
    OP
       Dec 30, 2016
    @debiann @Aspx 的确是 localhost:4000 这个问题....

    不过之前在我的 chrome 和 firefox 里面的确是正常的,估计是缓存搞的鬼。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5599 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:59 · PVG 16:59 · LAX 01:59 · JFK 04:59
    ♥ Do have faith in what you're doing.