middleman/middleman-core/lib/middleman-more/templates/smacss/source/stylesheets/modules/README.markdown

10 lines
580 B
Markdown
Raw Normal View History

2012-08-30 00:15:58 +02:00
# SMACSS
### Modules
> A Module is a more discrete component of the page. It is your navigation bars and your carousels and your dialogs and your widgets and so on. This is the meat of the page. Modules sit inside Layout components. Modules can sometimes sit within other Modules, too. Each Module should be designed to exist as a standalone component. In doing so, the page will be more flexible. If done right, Modules can easily be moved to different parts of the layout without breaking.
> - SMACSS, Jonathan Snook
In this directory we typically use one file per module.