H5+CSS3简单的星星打分代码
.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: #16a085;
}
这是一款纯css3实现的星星打分代码,简单的css3鼠标悬停星星打分效果网页特效。
申明:php中文网下载站匠心打造专业的IT资源下载站!一切资源免费,来源网络收集,请自行检测软件的完整性。交流QQ群:916808767