Home > Web Front-end > HTML Tutorial > How can I make some links display underlines when clicked and some not? ? _html/css_WEB-ITnose

How can I make some links display underlines when clicked and some not? ? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:20:09
Original
1383 people have browsed it

CSS

How to make part of the link display underline when clicked, but not part of it? ?


Please write out the CSS

Reply to the discussion (solution)

#aaa a:active{ text-decoration:underline;}
#bbb a:active{ text-decoration:none;}

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template