首页htmlborderPage Widget - 如何创建具有底部边框的线分隔符

Page Widget - 如何创建具有底部边框的线分隔符

我们想知道如何创建具有底部边框的线分隔符。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.divOutside {
  border-bottom: 2px blue solid;
  width: 200px;
  padding-bottom: 5px;
  padding-top: 5px;
}

.divInside {
  width: 200px;
  height: 80px;
  color: #fff;
  background-color: blue;
}

.last {
  border-bottom: 0;
}
</style>
</head>
<body>
  <div id="Content1" class="divOutside">
    <div class="divInside">
      <strong>Content1</strong>
    </div>
  </div>
  <div id="Content2" class="divOutside">
    <div class="divInside">
      <strong>Content2</strong>
    </div>
  </div>
  <div id="Content3" class="divOutside last">
    <div class="divInside">
      <strong>Content3</strong>
    </div>
  </div>
</body>
</html>