propublica/stateface — pull request #3 by paulsmith (2012-03-25 13:52:21+00:00)
Title: State abbreviation-based CSS classes for text replacement

As an alternative to having to remember or lookup the right letter code to type for a state, one could use CSS classes where the class names are derived from the two-letter state USPS abbreviations. It’s also SEO-friendlier because you can write out the name of the state and have it replaced with the StateFace icon.

For example, instead of typing `T` to get an icon for Maryland:

```html
Maryland
```

If replacement is not required, omit `.state-replace` to have the icon prepended to the text:

```html
Maryland
```

Perhaps since the common case is replacement, the `.state-replace` could be omitted and replacement would be the default, to be less verbose, and `.state-prepend` could be introduced for prepending.