CSS Property Value How to - border-bottom: 8px solid #f0f0f0;








Question

We would like to know how to border-bottom: 8px solid #f0f0f0;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.details-big {<!--from  w  w w. ja v  a  2  s. c  o m-->
  border-top: 8px solid #f0f0f0;
  border-bottom: 8px solid #f0f0f0;
  font-size: 0;
}
</style>
</head>
<body>
  <div class="details-big">
    <img src="http://www.java2s.com/style/download.png" alt="title" />
  </div>
</body>
</html>

The code above is rendered as follows: