CSS Property Value How to - display: none;








Question

We would like to know how to display: none;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div.breadcrumbs span {<!--from  www.j a v  a2  s.  co  m-->
  position: relative;
  left: -120px;
  height: 16px;
  line-height: 16px;
  margin: 0 20px;
  overflow: hidden;
}

span {
  display: none;
}
</style>
</head>
<body>
  <div class="breadcrumbs">
    These are <span>breadcrumbs</span> in a line...
  </div>
</body>
</html>

The code above is rendered as follows: