将红色小符号改成绿色
<!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>
div {
position: relative;
90px;
height: 90px;
background-color: #ff0;
}
.has:after{
position:absolute;
content:'';
background: #ff514c;
10px;
height: 10px;
border-radius:50%;
top: -.1rem;
right: -.25rem;
display: block;
}
</style>
</head>
<body>
<div>
<a href="sysMessage.html" class="point">
<span class="ico_w has">
</span>
<h6 class="tit">我的消息</h6>
</a>
</div>
<script src="js/jquery-1.8.3.min.js"></script>
<script>
$('.point').append("<style>.has::after{background: #0ff}</style>");
</script>
</body>
</html>