Initial commit
This commit is contained in:
24
css/Child Selector.html
Normal file
24
css/Child Selector.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!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">
|
||||
<head>
|
||||
<title>Child Selector</title>
|
||||
<style type="text/css">
|
||||
#myid > * { border:2px solid blue; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="my-class">A loving heart is the beginning of all knowledge. Thomas Carlyle</p>
|
||||
<div id="myid">
|
||||
<ol>
|
||||
<li>Take away love, and our earth is a tomb. Robert Browning </li>
|
||||
<li>You cannot be lonely if you like the person you're alone with. Wayne Dyer
|
||||
</li>
|
||||
<li>
|
||||
<p class="my-class">Poetry is the song of the heart, molded by the mind. Roger W. Hancock</p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user