CSS Property Value How to - border-top: medium ridge red;








Question

We would like to know how to border-top: medium ridge red;.

Answer


<!--from ww w  . j  a va  2  s  . c  om-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#place01 {
  border-top: medium ridge red;
  border-bottom: medium ridge #EEE;
}
</style>
</head>
<body>
  <div id="place01">dsfdsfsdfsdf sdf sdf sf sf s</div>
</body>
</html>

The code above is rendered as follows: