首页htmlui_olHTML Element Style - 如何带底部边框的单独列表项

HTML Element Style - 如何带底部边框的单独列表项

我们想知道如何带底部边框的单独列表项。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.menuoptions {
  position: relative;
  height: 30px;
  width: 225px;
  color: #666;
  line-height: 40px;
  font-weight: bold;
  margin-top: -10px;
  top: 10px;
  list-style: none;
  padding: 0;
}

.menuoptions li {
  border-bottom: solid 1px #ccc;
  padding-left: 10px;
}
</style>
</head>
<body>
  <ul class="menuoptions">
    <li>Home</li>
    <li>Contact</li>
    <li>About</li>
    <li>Product</li>
    <li>Help</li>
  </ul>
</body>
</html>