V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
simple26
V2EX  ›  GitHub

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

  •  
  •   simple26 ·
    liuchengxu · 2016-12-30 21:02:21 +08:00 · 1530 次点击
    这是一个创建于 2679 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    github 地址

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


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

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

    不过之前在我的 chrome 和 firefox 里面的确是正常的,估计是缓存搞的鬼。。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1138 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:46 · PVG 01:46 · LAX 10:46 · JFK 13:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.