You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/css/Background color transparen...

44 lines
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:subLang='en'>
<head>
<title>Background Color Transparent</title>
<style type='text/css'>
body {
background-color: blue;
line-height: 25px;
}
span {
border: 1px solid rgb(0, 0, 0);
}
span#keyword {
background-color: pink;
}
span#rgb {
background-color: rgb(200, 169, 1200);
color: white;
}
span#hexadecimal {
background-color: #000000;
color: white;
}
span#short-hex {
background-color: #fff;
color: black;
}
span#transparent {
background-color: transparent;
}
</style>
</head>
<body>
<p>
<span id='keyword'> Some love lasts a lifetime. True love lasts forever. </span>,
<span id='rgb'>A kiss makes the heart young again and wipes out the years. Rupert Brooke</span>,
<span id='hexadecimal'>This is my commandment, that ye love one another Jesus</span>
<span id='short-hex'>Love is the poetry of the senses. Honore de Balzac </span>
<span id='transparent'>A loving heart is the beginning of all knowledge. Thomas Carlyle </span>
</p>
</body>
</html>