5星好评在美团中最为常见,大家不仅要知道效果,也要对实现效果的代码有了解。
接下来上代码!!!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="base.css"/>
<style type="text/css">
*{
list-style: none;
}
.wrapper {
width: 600px;
height: 80px;
line-height: 70px;
border: 1px solid orange;
margin: 0 auto;
margin-top: 10px;
box-shadow: orange 0px 0px 10px;
}
span {
float: left;
font-size: 40px;
margin-left: 60px;
}
li {
float: left;
font-size: 55px;
margin-left: 10px;
}
.effect{
color: red;
}
li:hover{
cursor: pointer;
}
</style>
</head>
<body>
<div class="wrapper">
<span>对