CSS - Add an external link signifier

Article Information

Article Content

Simple one today.

You can have CSS automatically add an external link signifier to any external URL

    <a href="https://external_url">External URL</a>

with the following CSS

a[href^="http://"], a[href^="https://"]  {
    background: url("<PATH TO IMAGE>") center right no-repeat;
    padding-right: 1em;
}

Our Mission

At Wildlink, our mission is to deliver the best business solutions we can to enable our clients to gather and unlock the answers in their data.
We are committed to fostering long-term partnerships built on trust, integrity, and a relentless pursuit of innovation.