AndrewIngram / best-practices

Where I collect any best practices I stumble across in my travels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS

Use one line per rule:

HTML

Use dashes (-) rather than underscores (_) or camelCase for classnames and ids:

  • You will commonly be using the slug of an entity (blog post, product etc) as a classname somewhere, slugs conventionally use dashes as word seperators.

About

Where I collect any best practices I stumble across in my travels