css a標簽去掉下划線樣式


/*包含以下四種的鏈接*/
a {
    text-decoration: none;
}
/*正常的未被訪問過的鏈接*/
a:link {
    text-decoration: none;
}
/*已經訪問過的鏈接*/
a:visited {
    text-decoration: none;
}
/*鼠標划過(停留)的鏈接*/
a:hover {
    text-decoration: none;
}
/* 正在點擊的鏈接*/
a:active {
    text-decoration: none;
}

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM