Answers for "hover over stars hover over previous"

CSS
0

hover over stars hover over previous

.rating {
  display: inline-flex;
  flex-direction: row-reverse;
}
i {
  width: 20px;
  height: 20px;
  margin: 5px;
  border: 1px solid black;
  transition: all 0.3s ease-in;
}
i:hover ~ i,
i:hover {
  background: black;
}
Posted by: Guest on December-18-2019

Browse Popular Code Answers by Language