Removing Dotted Outline Around Active Link using CSS

R

How Can We Help?

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;
}

About the author

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.

About Author

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.

Follow Me