<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>文本阴影和超链接伪类</title>
<style>
/* 默认的颜色 */
a{
text-decoration: none;
color: rgb(13, 17, 17);
}
/* 鼠标悬浮的颜色--重点记 */
a:hover{
color: beige;
font-size: 50px;
}
/* 鼠标按住未释放的状态 */
a:active{
color: aquamarine;
}
/* text-shadow:阴影颜色,水平偏移,垂直偏移,阴影半径
上左为负数,下右为正数
*/
#price{
text-shadow: #3cc7f5 10px 10px 10px;
}
</style>
</head>
<body>
<a href="#">
<img src="../resource/image/bk.png" alt="">
</a>
<p>
<a href="#">码出高效:java开发手册</a>
</p>
<p>
<a href="">作者:孤尽老师</a>
</p>
<p id="price">
¥99
</p>
</body>
</html>