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:
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!