CSS 链接样式示例
html公开前 25 行,完整代码需登录
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS 链接样式示例</title>
<style>
/* 链接样式定义 */
a:link {
color: #0066cc;
text-decoration: none;
font-size: 14px;
padding: 5px;
}
a:visited {
color: #663399;
}
a:hover {
color: #ff6600;
text-decoration: underline;
background-color: #f0f0f0;
}