• 请不要在回答技术问题时复制粘贴 AI 生成的内容
kongruxi
V2EX  ›  程序员

大家是怎样组织CSS的?

  •  
  •   kongruxi · Jun 29, 2011 · 5416 views
    This topic created in 5605 days ago, the information mentioned may be changed or developed.
    例如:
    公共的放到一个CSS文件中,与Model有关的单独放到以Model命名的CSS文件中

    还是将所有的写到一起?
    3 replies  •  1970-01-01 08:00:00 +08:00
    reus
    reus
    Jun 29, 2011
    1
    分开写,然后程序合并
    qichangxing
    qichangxing
    Jun 29, 2011
    2
    大站为了减少请求,会合并,小站应该讲究清晰明了,合并那不是优先要考虑的事情。
    /static/styles/reset.css
    /static/styles/default/style.css
    kutata
    kutata
    Aug 27, 2011
    3
    @qichangxing 一致.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5473 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 02:06 · PVG 10:06 · LAX 18:06 · JFK 21:06
    ♥ Do have faith in what you're doing.