Skip to content

Instantly share code, notes, and snippets.

View enricolucia's full-sized avatar

Enrico Lucia enricolucia

View GitHub Profile

LESS Coding Guidelines

Inspired on "LESS Coding Guidelines of The Obvious Corporation" ang "Git styleguide"

Naming Conventions

Never reference js- prefixed class names from CSS files. js- are used exclusively from JS files. Use the is- prefix for state rules that are shared between CSS and JS. Classes and IDs are lowercase with words separated by a dash:

Right: