CSS Tutorial

Setting Borders for Each Side

border-bottom-color
border-bottom-style
border-bottom-width
border-left-color
border-left-style
border-left-width
border-right-color
border-right-style
border-right-width
border-top-color
border-top-style
border-top-width

 

<!DOCTYPE html>
<title>Example</title>
<style>
  div {
    padding: 20px;
    border-bottom-width: 4px;
    border-bottom-style: double;
    border-bottom-color: orange;
  }
</style>
<div>
  This 'div' has a bottom border.
</div>