html div css代码 如下:
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
/*
.hot-num {
display: block;
width: 18px;
height: 18px;
text-indent: 0;
text-align: center;
color: #fff;
cursor: pointer;
line-height: 18px;
font-family: MicrosoftYaHei;
font-size: 12px;
border-radius: 20px;
background-color: #FC561F;
}*/
</style>
</head>
<body>
<span class="hot-num" style="height: 18px; top: 6px; opacity: 1;display: block;
width: 18px;
height: 18px;
text-indent: 0;
text-align: center;
color: #fff;
cursor: pointer;
line-height: 18px;
font-family: MicrosoftYaHei;
font-size: 12px;
border-radius: 20px;
background-color: #FC561F;">3</span>
</body>
</html>
如下效果:
