h2 background: inherit; : Header background « Tags « HTML / CSS






h2 background: inherit;

   

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*KHAKI*</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">

h2 {
  margin: 0;
  padding: 0;
  font-size: 130%;
  text-transform: none;
  letter-spacing: 5px;
  color: #BA3F2F;
  background: inherit;
}
</style>

</head>
<body>

  <h2>Welcome to <strong>The</strong> Template</h2>

</body>
</html>

   
    
    
  








Related examples in the same category

1.h2 background-image: url(http://java2s.com/style/logo.png);
2.h2 background-repeat: repeat-x;
3.h2 background-position: bottom;
4.H1 background: inherit;
5.H1 background: transparent;
6.h2 background: inherit; 2