Skip to content

Instantly share code, notes, and snippets.

@rdetert
Last active April 18, 2018 05:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rdetert/3234688e4329ce63849e82f01c29e8d8 to your computer and use it in GitHub Desktop.
Customize the Unsplash badge if you don't like the bulky black and white one. Just cut and paste this code to the end of your CSS code.
a[href*="//unsplash.com"] {
background-color: transparent !important;
color: black !important;
font-size: 10px !important;
svg {
height: 10px !important;
fill: black !important;
}
&:hover {
background-color: black !important;
color: white !important;
svg {
fill: white !important;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment