CSS Property Value How to - border-left-color: black;








Question

We would like to know how to border-left-color: black;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.d1 {<!-- ww  w .j  av a 2s.c  o m-->
  height: 50px;
  width: 100px;
  background: #eee;
  border-style: solid;
  border-color: green;
  border-left-color: black;
  border-width: 3px 3px 3px 15px;
}


</style>
</head>
<body>
  <div class="d1"></div>
</body>
</html>

The code above is rendered as follows: