CSS约定/代码布局模型 [英] CSS Conventions / Code Layout Models

查看:103
本文介绍了CSS约定/代码布局模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有尝试和创建一个正式的方法来组织CSS代码?在我走之前,并且弥补我自己的策略,保持可读性,我想知道还有什么。 Google不是非常有帮助,因为我不完全确定要搜索的条件。

Has there been any attempt and creating a formalized method for organizing CSS code? Before I go and make up my own strategy for keeping things readable, I'm wondering what else is out there. Google hasn't been very helpful, as I'm not entirely sure what terms to search for.

我想更多地沿着缩进/间距,当

I'm thinking more along the lines of indenting/spacing, when to use new lines, naming conventions, etc.

推荐答案

Natalie Down of ClearLeft的名声产生了一个非常棒的幻灯片,涵盖了这个主题和更多 http://natbat.net/2008/Sep/28/css-systems/

Natalie Down of ClearLeft fame produced a really great slide show covering this topic and more http://natbat.net/2008/Sep/28/css-systems/

下载PDF文件,因为它包含了比幻灯片更多的信息显示。我会推荐给所有技能水平的CSS开发人员。

Download the PDF as it includes a lot more information than the slide show. I'd recommend this to CSS devs of all skill levels.

这篇关于CSS约定/代码布局模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆