Skip to content

Instantly share code, notes, and snippets.

@sebdeckers
Created April 14, 2013 11:29
Show Gist options
  • Save sebdeckers/5382374 to your computer and use it in GitHub Desktop.
Save sebdeckers/5382374 to your computer and use it in GitHub Desktop.
Example of selectors for every content element
header {
}
header > h1 {
}
header > cite {
}
header > img {
}
section {
}
section > h2 {
}
section > ul {
}
section > ul > li {
}
section > ul > li > a {
}
section > ol {
}
section > ol > li {
}
section > ol > li > h3 {
}
section > ol > li > p {
}
section > article {
}
section > article > h3 {
}
section > article > .timestamp {
}
section > article > p {
}
footer {
}
footer > p {
}
footer > a {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment