x
<html>
<head>
<title>CSS tutorial</title>
<style type="text/css">
div {
position:relative; overflow:visible;
background-color:#bbb; color:#eee;
}
h2 {
background-color:RGB(92,51,51);
}
h2+h2 {
background-color:#5c3333;
}
</style>
</head>
<body>
<div>
<h2>Heading #2 with background color expressed as <i>RGB(92,51,51)</i></h2>
<h2>Heading #2 with same background color expressed as hexadecimal <i>#5C3333</i></h2>
<h3>Heading #3 with background color left <i>transparent</i></h3>
</div>
</body>
</html>
Comments
No comments have been made yet.
Please login to leave a comment. Login now