4css

时间:2020-07-27 09:30:49   收藏:0   阅读:79
链接伪类
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        a:link {
            color:#333;
            text-decoration:none
        }
        a:visited {
            color:orange
        }
        a:hover {
            color:red
        }
        a:active {
            color:green
        }
    </style>
</head>
<body>
    <a href="http://www.baidu.com">小米手机</a>
</body>
</html>

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!