How to set the hyperlink to be non-clickable in css: first use the "cursor:pointer;" attribute to turn the mouse into an arrow; then use the "pointer-events:none;" attribute to make the hyperlink invalid and non-clickable.
The operating environment of this article: windows7 system, HTML5&&CSS3 version, DELL G3 computer.
Use css settings to make hyperlinks unclickable or invalid
##cursor :pointer;
pointer-events: none;
The first line is to make the mouse turn into an arrow instead of a small hand shape
The second line is to invalidate the hyperlink code
测试
CSS video tutorialcolumn!
The above is the detailed content of How to set hyperlinks to be non-clickable in css. For more information, please follow other related articles on the PHP Chinese website!