Skip to content

Instantly share code, notes, and snippets.

@henshaw
Last active June 3, 2022 15:25
  • 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 henshaw/057a8b86b5360d19497bae6098ac2c1f to your computer and use it in GitHub Desktop.
External link icon CSS for affiliate links
article a[rel *= "sponsored"]:after {
display:inline-block;content: " " url(/affiliate.svg);width:1rem;padding-left:.3rem;
}
@henshaw
Copy link
Author

henshaw commented Jun 3, 2022

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