目前我想使用http://codepen.io/JaxoDI/pen/DtsdH的评分系统。但是当你从右到左盘旋时它会起作用。随意在给出的链接中尝试。但我希望有一个从左到右徘徊的评级系统。
我对css没有任何基本知识。任何答案都将非常感激。谢谢。
&:hover {
//Apply styles to this and all subsequent radio buttons
/* This is the reason why it has to go from high-to-low
In CSS4, we should be able to use !, which will select
up the DOM (select elements _before_ this one) */
&:before, ~:before {
transition:none;
background:#2ecc71;
box-shadow:inset 0 0 4px rgba(0,0,0,0.4);
}
}
答案 0 :(得分:0)