第二章 目标的样式 要用CSS样式化一个HTML元素,必须要定位一个元素, CSS的选择器就是这样的手段. 这章中,你要学到的 • Common selectors 普通选择器 • Advanced selectors 高级选择器 • New CSS 3 selectors 新的CSS3选择器 • The wonderful world of specificity and the cascade 特征和层叠的奇妙世界 • Planning and maintaining your sty…
--本笔记中英混合,专业名词尽量不翻译,免得误解,如果不习惯,就不用往下看了,走好不送. 第一章 基础 人类的好奇心总是促使我们捣鼓,捣鼓是最好做有效的学习CSS的方法 In this chapter you will learn about • Structuring your code • The importance of meaningful documentation • Naming conventions • When to use IDs and class names • Mi…