Skip to content

Instantly share code, notes, and snippets.

@mndvns
Last active March 6, 2016 18:37
Show Gist options
  • Save mndvns/b1cfe6cc3651d3ce5be9 to your computer and use it in GitHub Desktop.
Save mndvns/b1cfe6cc3651d3ce5be9 to your computer and use it in GitHub Desktop.
CSS for trump like buttons
._2p7a.like {
background-image: url(http://i.imgur.com/8cRu6hb.png) !important;
}
._sa_ ._48-k::before {
background-image: url(http://i.imgur.com/WWIVI1S.png) !important;
}
.x2 ._iuz {
background-image: url(http://i.imgur.com/nIEol8j.png) !important;
}
@neborn
Copy link

neborn commented Feb 26, 2016

When the like button state changes after I like the post it changes back to a thumbs up. The following works for me:

._sa_ ._48-k::before, ._sa_ ._48-k.UFILinkBright::before {
  background-image: url(http://i.imgur.com/WWIVI1S.png);
}

Before
like

After
like3

@mndvns
Copy link
Author

mndvns commented Feb 26, 2016

nice! updated the gist by adding !important tags at the end of every rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment