.star-rating {
font-family: 'FontAwesome';
margin: 50px auto;
}
.star-rating > fieldset {
border: none;
display: inline-block;
}
.star-rating > fieldset:not(:checked) > input {
position: absolute;
top: -9999px;
clip: rect(0, 0, 0, 0);
}
.star-rating > fieldset:not(:checked) > label {
float: right;
width: 1em;
padding: 0 .05em;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
font-size: 200%;
color: #16a08
这是一款纯css3实现的星星打分代码,简单的css3鼠标悬停星星打分效果网页特效。
