Rich Selection Pattern

From CSS Discuss

Jump to: navigation, search

Design Pattern

Name: Rich Selection

Type: Structural

Problem: Allow more flexible styling than generally allowed by supported selectors and rules.

Context: CSS is composed of selectors and rules (which are, in turn, made up of properties and values). The support of particular selector methods and properties varies from browser to browser. CSS design techniques are limited to the least common denominator (or .... more coming

Forces: [forces]

Proposed Solution: [explain in terms of your concrete example]

Resulting Context: [what happens when you apply it, good and bad]

Design Rationale: [rationale]

Related Patterns:

Anti Patterns you should beware of:

Pattern Category : [classify it]

Also Known As: [other names]

Examples in the Literature:

Examples in Practice:

Contrast with Portland Form , the preferred form for patterns on this Wiki.

Category Pattern (see Anti Pattern Template)

Personal tools