Home  >  Article  >  Web Front-end  >  How to delete the style generated after the link is clicked

How to delete the style generated after the link is clicked

php中世界最好的语言
php中世界最好的语言Original
2017-12-16 10:32:152234browse

We know that after being clicked in the link anchor text, a default dotted box will be generated, which is not beautiful, so how to delete the pictureor text link of the anchor text? What about dashed boxes? Today I will teach you a method.

Hyperlink generated after being clickedDotted box

1. Use CSS solution, CSS code:

a {blr:expression(this .onFocus=this.blur())}

Usage:

Just copy the above code into your CSS file.

2. Add the attribute code directly to the hyperlink tag as follows:

css

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

Answers to questions about camel case naming and JS

Boolean values, relational operators in JS, Detailed explanation and examples of logical operators

Summary of the front-end js framework and explanation of its uses


The above is the detailed content of How to delete the style generated after the link is clicked. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn