Mark external links


/ Published in: CSS
Save to your folder(s)

How to mark external links with an arrow behind by using CSS


Copy this code and paste it in your HTML
  1. a[href^="http://"]:not([href*="yourdomain.com"])::after {
  2. content: "\2197";
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.