Skip to content

Instantly share code, notes, and snippets.

@sarachisholm
Last active March 17, 2017 19:54
Show Gist options
  • Save sarachisholm/ef9b56186bcd72823e714136974918b5 to your computer and use it in GitHub Desktop.
Save sarachisholm/ef9b56186bcd72823e714136974918b5 to your computer and use it in GitHub Desktop.
Body {
counter-reset: amount;
}
#itemA-3:checked ~
#itemE-5:not:checked {
counter-increment: amount;
}
.price {
content: ‘$’ + counter(amount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment