Chapter 3. Fundamentals

When working with CSS, there are fundamental concepts that the developers should be aware of and understand intimately, but that tend to be overlooked or even ignored. Knowing these concepts in depth will mean that the CSS created will be better planned, bugs will be easier to avoid, and style sheets will be, in general, simpler, cleaner, and easier to maintain.

CSS is usually regarded as a relatively simple language to understand (its syntax is intuitive and easy to follow, even for someone who has never written a single line of CSS). But CSS authors need some experience to code complex CSS layouts that won't break in less-compliant browsers and at the same time keep their style sheets clean and flexible.

In an ideal world, ...

Get Pro CSS for High Traffic Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.