diff --git a/docs/index.html b/docs/index.html index 8672023..794fbff 100644 --- a/docs/index.html +++ b/docs/index.html @@ -127,12 +127,12 @@ They are given 12px of horizontal padding by default.

-
- -
- Show code -
<button>Click me</button>
-
+
+ +
+ Show code +
<button>Click me</button>
+

@@ -141,12 +141,12 @@

-
- -
- Show code -
<button>I am being pressed</button>
-
+
+ +
+ Show code +
<button>I am being pressed</button>
+

@@ -154,12 +154,12 @@ appearance in their label.

-
- -
- Show code -
<button disabled>I cannot be clicked</button>
-
+
+ +
+ Show code +
<button disabled>I cannot be clicked</button>
+

@@ -167,12 +167,12 @@ The following example is simulated to be focused.

-
- -
- Show code -
<button>I am focused</button>
-
+
+ +
+ Show code +
<button>I am focused</button>
+
@@ -198,14 +198,14 @@ being able to click the entire label to select the box).

-
- - -
- Show code -
<input type="checkbox" id="example1">
-<label for="example1">This is a checkbox</label>
-
+
+ + +
+ Show code +
<input type="checkbox" id="example1">
+<label for="example1">This is a checkbox</label>
+

@@ -218,34 +218,34 @@ a consistent spacing between inputs.

-
-
- - -
-
- - -
-
- - -
-
- Show code -
<div class="field-row">
-  <input checked type="checkbox" id="example2">
-  <label for="example2">I am checked</label>
-</div>
-<div class="field-row">
-  <input disabled type="checkbox" id="example3">
-  <label for="example3">I am inactive</label>
-</div>
-<div class="field-row">
-  <input checked disabled type="checkbox" id="example4">
-  <label for="example4">I am inactive but still checked</label>
-</div>
-
+
+
+ + +
+
+ + +
+
+ + +
+
+ Show code +
<div class="field-row">
+  <input checked type="checkbox" id="example2">
+  <label for="example2">I am checked</label>
+</div>
+<div class="field-row">
+  <input disabled type="checkbox" id="example3">
+  <label for="example3">I am inactive</label>
+</div>
+<div class="field-row">
+  <input checked disabled type="checkbox" id="example4">
+  <label for="example4">I am inactive but still checked</label>
+</div>
+
@@ -271,26 +271,26 @@ field-row class to ensure a consistent spacing between inputs.

-
-
- - -
-
- - -
-
- Show code -
<div class="field-row">
-  <input id="radio5" type="radio" name="first-example">
-  <label for="radio5">Yes</label>
-</div>
-<div class="field-row">
-  <input id="radio6" type="radio" name="first-example">
-  <label for="radio6">No</label>
-</div>
-
+
+
+ + +
+
+ + +
+
+ Show code +
<div class="field-row">
+  <input id="radio5" type="radio" name="first-example">
+  <label for="radio5">Yes</label>
+</div>
+<div class="field-row">
+  <input id="radio6" type="radio" name="first-example">
+  <label for="radio6">No</label>
+</div>
+

@@ -298,34 +298,34 @@ HTML attributes.

-
-
- - -
-
- - -
-
- - -
-
- Show code -
<div class="field-row">
-  <input id="radio7" type="radio" name="second-example">
-  <label for="radio7">Peanut butter should be smooth</label>
-</div>
-<div class="field-row">
-  <input checked disabled id="radio8" type="radio" name="second-example">
-  <label for="radio8">I understand why people like crunchy peanut butter</label>
-</div>
-<div class="field-row">
-  <input disabled id="radio9" type="radio" name="second-example">
-  <label for="radio9">Crunchy peanut butter is good</label>
-</div>
-
+
+
+ + +
+
+ + +
+
+ + +
+
+ Show code +
<div class="field-row">
+  <input id="radio7" type="radio" name="second-example">
+  <label for="radio7">Peanut butter should be smooth</label>
+</div>
+<div class="field-row">
+  <input checked disabled id="radio8" type="radio" name="second-example">
+  <label for="radio8">I understand why people like crunchy peanut butter</label>
+</div>
+<div class="field-row">
+  <input disabled id="radio9" type="radio" name="second-example">
+  <label for="radio9">Crunchy peanut butter is good</label>
+</div>
+
@@ -347,40 +347,40 @@ around your controls.

-
-
-
Select one:
-
- - -
-
- - -
-
- - -
-
-
- Show code -
<fieldset>
-  <div class="field-row">Select one:</div>
-  <div class="field-row">
-    <input id="radio10" type="radio" name="fieldset-example">
-    <label for="radio10">Diners</label>
-  </div>
-  <div class="field-row">
-    <input id="radio11" type="radio" name="fieldset-example">
-    <label for="radio11">Drive-Ins</label>
-  </div>
-  <div class="field-row">
-    <input id="radio12" type="radio" name="fieldset-example">
-    <label for="radio12">Dives</label>
-  </div>
-</fieldset>
-
+
+
+
Select one:
+
+ + +
+
+ + +
+
+ + +
+
+
+ Show code +
<fieldset>
+  <div class="field-row">Select one:</div>
+  <div class="field-row">
+    <input id="radio10" type="radio" name="fieldset-example">
+    <label for="radio10">Diners</label>
+  </div>
+  <div class="field-row">
+    <input id="radio11" type="radio" name="fieldset-example">
+    <label for="radio11">Drive-Ins</label>
+  </div>
+  <div class="field-row">
+    <input id="radio12" type="radio" name="fieldset-example">
+    <label for="radio12">Dives</label>
+  </div>
+</fieldset>
+

@@ -388,48 +388,48 @@ within the fieldset.

-
-
- Today's mood -
- - -
-
- - -
-
- - -
-
- - -
-
-
- Show code -
<fieldset>
-  <legend>Today's mood</legend>
-  <div class="field-row">
-    <input id="radio13" type="radio" name="fieldset-example2">
-    <label for="radio13">Claire Saffitz</label>
-  </div>
-  <div class="field-row">
-    <input id="radio14" type="radio" name="fieldset-example2">
-    <label for="radio14">Brad Leone</label>
-  </div>
-  <div class="field-row">
-    <input id="radio15" type="radio" name="fieldset-example2">
-    <label for="radio15">Chris Morocco</label>
-  </div>
-  <div class="field-row">
-    <input id="radio16" type="radio" name="fieldset-example2">
-    <label for="radio16">Carla Lalli Music</label>
-  </div>
-</fieldset>
-
+
+
+ Today's mood +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ Show code +
<fieldset>
+  <legend>Today's mood</legend>
+  <div class="field-row">
+    <input id="radio13" type="radio" name="fieldset-example2">
+    <label for="radio13">Claire Saffitz</label>
+  </div>
+  <div class="field-row">
+    <input id="radio14" type="radio" name="fieldset-example2">
+    <label for="radio14">Brad Leone</label>
+  </div>
+  <div class="field-row">
+    <input id="radio15" type="radio" name="fieldset-example2">
+    <label for="radio15">Chris Morocco</label>
+  </div>
+  <div class="field-row">
+    <input id="radio16" type="radio" name="fieldset-example2">
+    <label for="radio16">Carla Lalli Music</label>
+  </div>
+</fieldset>
+
@@ -452,18 +452,18 @@ attribute, and wrap both in a container with the field-row class.

-
-
- - -
-
- Show code -
<div class="field-row">
-  <label for="text17">Occuptation</label>
-  <input id="text17" type="text" />
-</div>
-
+
+
+ + +
+
+ Show code +
<div class="field-row">
+  <label for="text17">Occuptation</label>
+  <input id="text17" type="text" />
+</div>
+

@@ -471,26 +471,26 @@ to position your label above the input instead of beside it.

-
-
- - -
-
- - -
-
- Show code -
<div class="field-row-stacked" style="width: 200px">
-  <label for="text18">Address (Line 1)</label>
-  <input id="text18" type="text" />
-</div>
-<div class="field-row-stacked" style="width: 200px">
-  <label for="text19">Address (Line 2)</label>
-  <input id="text19" type="text" />
-</div>
-
+
+
+ + +
+
+ + +
+
+ Show code +
<div class="field-row-stacked" style="width: 200px">
+  <label for="text18">Address (Line 1)</label>
+  <input id="text18" type="text" />
+</div>
+<div class="field-row-stacked" style="width: 200px">
+  <label for="text19">Address (Line 2)</label>
+  <input id="text19" type="text" />
+</div>
+

@@ -498,18 +498,18 @@ element instead.

-
-
- - -
-
- Show code -
<div class="field-row-stacked" style="width: 200px">
-  <label for="text20">Additional notes</label>
-  <textarea id="text20" rows="8"></textarea>
-</div>
-
+
+
+ + +
+
+ Show code +
<div class="field-row-stacked" style="width: 200px">
+  <label for="text20">Additional notes</label>
+  <textarea id="text20" rows="8"></textarea>
+</div>
+
@@ -533,24 +533,24 @@ elements.

-
- -
- Show code -
<select>
-  <option>5 - Incredible!</option>
-  <option>4 - Great!</option>
-  <option>3 - Pretty good</option>
-  <option>2 - Not so great</option>
-  <option>1 - Unfortunate</option>
-</select>
-
+
+ +
+ Show code +
<select>
+  <option>5 - Incredible!</option>
+  <option>4 - Great!</option>
+  <option>3 - Pretty good</option>
+  <option>2 - Not so great</option>
+  <option>1 - Unfortunate</option>
+</select>
+

@@ -559,24 +559,24 @@ attribute.

-
- -
- Show code -
<select>
-  <option>5 - Incredible!</option>
-  <option>4 - Great!</option>
-  <option selected>3 - Pretty good</option>
-  <option>2 - Not so great</option>
-  <option>1 - Unfortunate</option>
-</select>
-
+
+ +
+ Show code +
<select>
+  <option>5 - Incredible!</option>
+  <option>4 - Great!</option>
+  <option selected>3 - Pretty good</option>
+  <option>2 - Not so great</option>
+  <option>1 - Unfortunate</option>
+</select>
+
@@ -616,22 +616,22 @@ title-bar, title-bar-text, and title-bar-controls.

-
-
-
A Title Bar
-
- -
-
-
- Show code -
<div class="title-bar">
-  <div class="title-bar-text">A Title Bar</div>
-  <div class="title-bar-controls">
-    <button aria-label="Close"></button>
-  </div>
-</div>
-
+
+
+
A Title Bar
+
+ +
+
+
+ Show code +
<div class="title-bar">
+  <div class="title-bar-text">A Title Bar</div>
+  <div class="title-bar-controls">
+    <button aria-label="Close"></button>
+  </div>
+</div>
+

@@ -640,26 +640,26 @@ "Minimize" and "Maximize" like so:

-
-
-
A Title Bar
-
- - - -
-
-
- Show code -
<div class="title-bar">
-  <div class="title-bar-text">A Title Bar</div>
-  <div class="title-bar-controls">
-    <button aria-label="Minimize"></button>
-    <button aria-label="Maximize"></button>
-    <button aria-label="Close"></button>
-  </div>
-</div>
-
+
+
+
A Title Bar
+
+ + + +
+
+
+ Show code +
<div class="title-bar">
+  <div class="title-bar-text">A Title Bar</div>
+  <div class="title-bar-controls">
+    <button aria-label="Minimize"></button>
+    <button aria-label="Maximize"></button>
+    <button aria-label="Close"></button>
+  </div>
+</div>
+
@@ -682,30 +682,30 @@ container style.

-
-
-
-
A Complete Window
-
- - - -
-
-
-
- Show code -
<div class="window" style="width: 300px">
-  <div class="title-bar">
-    <div class="title-bar-text">A Complete Window</div>
-    <div class="title-bar-controls">
-      <button aria-label="Minimize"></button>
-      <button aria-label="Maximize"></button>
-      <button aria-label="Close"></button>
-    </div>
-  </div>
-</div>
-
+
+
+
+
A Complete Window
+
+ + + +
+
+
+
+ Show code +
<div class="window" style="width: 300px">
+  <div class="title-bar">
+    <div class="title-bar-text">A Complete Window</div>
+    <div class="title-bar-controls">
+      <button aria-label="Minimize"></button>
+      <button aria-label="Maximize"></button>
+      <button aria-label="Close"></button>
+    </div>
+  </div>
+</div>
+

@@ -713,36 +713,36 @@ class under the title bar.

-
-
-
-
A Window With Stuff In It
-
- - - -
-
-
-

There's so much room for activities!

-
-
-
- Show code -
<div class="window" style="width: 300px">
-  <div class="title-bar">
-    <div class="title-bar-text">A Window With Stuff In It</div>
-    <div class="title-bar-controls">
-      <button aria-label="Minimize"></button>
-      <button aria-label="Maximize"></button>
-      <button aria-label="Close"></button>
-    </div>
-  </div>
-  <div class="window-body">
-    <p>There's so much room for activities!</p>
-  </div>
-</div>
-
+
+
+
+
A Window With Stuff In It
+
+ + + +
+
+
+

There's so much room for activities!

+
+
+
+ Show code +
<div class="window" style="width: 300px">
+  <div class="title-bar">
+    <div class="title-bar-text">A Window With Stuff In It</div>
+    <div class="title-bar-controls">
+      <button aria-label="Minimize"></button>
+      <button aria-label="Maximize"></button>
+      <button aria-label="Close"></button>
+    </div>
+  </div>
+  <div class="window-body">
+    <p>There's so much room for activities!</p>
+  </div>
+</div>
+
@@ -766,20 +766,20 @@ elements), can contain whatever you'd like.

-
-
    -
  • We can put
  • -
  • ✨ Whatever ✨
  • -
  • We want in here
  • -
-
- Show code -
<ul class="tree-view">
-  <li>We can put</li>
-  <li><strong style="color: purple">✨ Whatever ✨</strong></li>
-  <li>We want in here</li>
-</ul>
-
+
+
    +
  • We can put
  • +
  • ✨ Whatever ✨
  • +
  • We want in here
  • +
+
+ Show code +
<ul class="tree-view">
+  <li>We can put</li>
+  <li><strong style="color: purple">✨ Whatever ✨</strong></li>
+  <li>We want in here</li>
+</ul>
+

@@ -788,50 +788,50 @@ border and indentation to illustrate the structure of the tree.

-
-
    -
  • Table of Contents
  • -
  • What is web development?
  • -
  • - CSS -
      -
    • Selectors
    • -
    • Specificity
    • -
    • Properties
    • -
    -
  • -
  • - JavaScript -
      -
    • Avoid at all costs
    • -
    -
  • -
  • HTML
  • -
  • Special Thanks
  • -
-
- Show code -
<ul class="tree-view">
-  <li>Table of Contents</li>
-  <li>What is web development?</li>
-  <li>
-    CSS
-    <ul>
-      <li>Selectors</li>
-      <li>Specificity</li>
-      <li>Properties</li>
-    </ul>
-  </li>
-  <li>
-    JavaScript
-    <ul>
-      <li>Avoid at all costs</li>
-    </ul>
-  </li>
-  <li>HTML</li>
-  <li>Special Thanks</li>
-</ul>
-
+
+
    +
  • Table of Contents
  • +
  • What is web development?
  • +
  • + CSS +
      +
    • Selectors
    • +
    • Specificity
    • +
    • Properties
    • +
    +
  • +
  • + JavaScript +
      +
    • Avoid at all costs
    • +
    +
  • +
  • HTML
  • +
  • Special Thanks
  • +
+
+ Show code +
<ul class="tree-view">
+  <li>Table of Contents</li>
+  <li>What is web development?</li>
+  <li>
+    CSS
+    <ul>
+      <li>Selectors</li>
+      <li>Specificity</li>
+      <li>Properties</li>
+    </ul>
+  </li>
+  <li>
+    JavaScript
+    <ul>
+      <li>Avoid at all costs</li>
+    </ul>
+  </li>
+  <li>HTML</li>
+  <li>Special Thanks</li>
+</ul>
+