concept api in category css

appears as: n API, API
CSS in Depth

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

10.2.2. Using a pattern library as an API

When you use a pattern library, you’re documenting an API for interfacing with your CSS. Each module comes with some class names and a small bit of DOM structure. As long as the relevant portion of HTML follows this structure, the stylesheet will style it correctly (figure 10.6).