Last active
April 18, 2018 05:06
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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