Skip to content

Update child.html #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions learn/selectors/child.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<style class="editable">
ul > li {
border-top: 5px solid red;
color: red;
}

</style>
Expand All @@ -21,30 +21,28 @@
<section class="preview">
<ul>
<li>Unordered item</li>
<li>Unordered item
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
</li>
<li>Unordered item</li>
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
</ul>
</section>

<textarea class="playable playable-css" style="height: 80px;">
ul > li {
border-top: 5px solid red;
color: red;
}
</textarea>

<textarea class="playable playable-html" style="height: 160px;">
<ul>
<li>Unordered item</li>
<li>Unordered item
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
</li>
<li>Unordered item</li>
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
</ul>
</textarea>

Expand All @@ -54,4 +52,4 @@
</body>
<script src="../playable.js"></script>

</html>
</html>