CSS

Removing Dotted Outline Around Active Link using CSS

Written by Ian Carnaghan · 12 sec read >

When a link on a webpage becomes Active sometimes a Dotted Outline appears which might look ugly in certain circumstances.The CSS outline property should be used to remove or style the Dotted Outline.

If you want to remove this Dotted Outline from every active link on the webpage simply add the following code:

a {
   outline: 0;
}

Last Updated On March 22, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

avatar
  Subscribe  
Notify of