Skip to content

Instantly share code, notes, and snippets.

@rringler
Last active December 13, 2016 02:26
Show Gist options
  • Save rringler/6b4bc22e3d4fc0d1ad5f53e1acf1bcca to your computer and use it in GitHub Desktop.
Save rringler/6b4bc22e3d4fc0d1ad5f53e1acf1bcca to your computer and use it in GitHub Desktop.
Reddit CSS to add a collapse button to the bottom of comments
.entry { position: relative; }
.entry > p > a.expand:hover:after { background: #369; }
.entry > p > a.expand:after {
content: '[–]';
position: absolute;
bottom: 12px;
right: 10px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 10px;
font-variant: normal;
font-style: normal;
line-height: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment