Archive for the ‘module’ Category

Developing Extensible HTML and CSS Components

Posted on: No Comments
The following is a guest post by Jon Yablonski. Jon is going to show us an example of how we might approach markup such that one component is particularly versatile. It works as-is, and has a standardized way of making variations (adding a single class...

Use `rem` for Global Sizing; Use `em` for Local Sizing

Posted on: No Comments
Richard Rutter’s guide for setting the font-size of an element is interesting: he argues that we should use both em and rem units depending on the relationship it might have with other elements on the page: Take the example of a pull quote containin...