|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <title>Selectors: Class and ID Selectors</title> |
| 6 | + <link rel="stylesheet" href="../styles.css" /> |
| 7 | + <style> |
| 8 | + * { |
| 9 | + box-sizing: border-box; |
| 10 | + } |
| 11 | + </style> |
| 12 | + |
| 13 | + <style class="editable"> |
| 14 | + |
| 15 | + |
| 16 | + </style> |
| 17 | + </head> |
| 18 | + |
| 19 | + <body> |
| 20 | + <section class="preview"> |
| 21 | + <div class="container"> |
| 22 | + <h1>This is a heading</h1> |
| 23 | + <p>Veggies es <span class="alert">bonus vobis</span>, proinde vos postulo <span class="alert stop">essum magis</span> kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.</p> |
| 24 | + <h2 id="special">A level 2 heading</h2> |
| 25 | + <p>Gumbo beet greens corn soko endive gumbo gourd.</p> |
| 26 | + <h2>Another level 2 heading</h2> |
| 27 | + <p><span class="alert go">Parsley shallot</span> courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p> |
| 28 | + </div> |
| 29 | + |
| 30 | + </section> |
| 31 | + |
| 32 | + <textarea class="playable playable-css" style="height: 120px;"> |
| 33 | + |
| 34 | + </textarea> |
| 35 | + |
| 36 | + <textarea class="playable playable-html" style="height: 130px;"> |
| 37 | +<div class="container"> |
| 38 | + <h1>This is a heading</h1> |
| 39 | + <p>Veggies es <span class="alert">bonus vobis</span>, proinde vos postulo <span class="alert stop">essum magis</span> kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.</p> |
| 40 | + <h2 id="special">A level 2 heading</h2> |
| 41 | + <p>Gumbo beet greens corn soko endive gumbo gourd.</p> |
| 42 | + <h2>Another level 2 heading</h2> |
| 43 | + <p><span class="alert go">Parsley shallot</span> courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p> |
| 44 | + |
| 45 | + </div> |
| 46 | + </textarea> |
| 47 | + |
| 48 | + <div class="playable-buttons"> |
| 49 | + <input id="reset" type="button" value="Reset" /> |
| 50 | + </div> |
| 51 | + </body> |
| 52 | + <script src="../playable.js"></script> |
| 53 | +</html> |
0 commit comments