Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richardadalton/410b5f13a8b8c5db964f5b2e10e0b731 to your computer and use it in GitHub Desktop.
Save richardadalton/410b5f13a8b8c5db964f5b2e10e0b731 to your computer and use it in GitHub Desktop.
Styling based on class
.veg:before {
content: url(img/veggie.png) " "; /*whitespace added to distance icon from text*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment