My Personal Junkyard

Category: HTML/CSS

Structuring CSS for HTML Components. Separation of concerns.

Structuing CSS/HTML (Separation of concerns) First, I will divice CSS into categories: Settings

Color Scheme

General (eg. *, body, Scrollbar, etc.)

Rows (or wrapper components)

Layout (or grid components)

Content components A default content-default style Different types of content eg. content-title, content-description

Spacing components

Individual components

Back to top