concept pattern in category css

appears as: pattern, patterns, pattern, patterns
CSS in Depth

This is an excerpt from Manning's book CSS in Depth.

Figure 4.12. The media object pattern: an image on the left and descriptive content on the right

Content editors and developers who use your pattern library don’t even need to know CSS—they only need to have a basic understanding of HTML. They can copy the patterns you document and place them in their page wherever they want. Modular CSS is the key to scaling your CSS, and a pattern library is a means of keeping those modules organized.

Sass and Compass in Action

This is an excerpt from Manning's book Sass and Compass in Action.

The first chapter gave a brief overview of the main features of Sass. This chapter goes into more depth, explaining the ins and outs of those features. We start by talking about variables, the simplest and most fundamental form of reuse in Sass. Then, we talk about different things you can do with nested selectors to keep your stylesheets lean and easy to read. Next, we’ll look at how to spread out your stylesheet into multiple files to make it easy to work with large numbers of styles. We’ll take a detour into silent comments, which are a great way of keeping notes in a file without exposing them for all the world to see. Finally, we’ll look at two ways of reusing entire chunks of style: mixins, which make it easy to use a pattern over and over, and inheritance, which makes it possible to express relationships between classes.

Compass will display the author’s included instructions (if any) along with a list of new files installed with the pattern.