<ul>
  <li>マウスオーバーすると</li>
  <li>背景が赤くなるよ</li>
</ul>
li {
  font-size: 15px;
}
li:hover {
  background-color: red;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.