Skip to content

Commit 3030f39

Browse files
committed
Markup Conventions: remove mention of left-labels
These are not used anywhere anymore, except here on this very page as meta example of the CSS styles. Remove these so that we can remove the unused styles from the base stylesheet. https://github.com/search?q=org%3Ajquery%20left-labels&type=code
1 parent ed4886c commit 3030f39

File tree

2 files changed

+1
-50
lines changed

2 files changed

+1
-50
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/dist/
22
/node_modules/
3+
/package-lock.json
34
config.js*

pages/markup-conventions.html

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -479,56 +479,6 @@ <h4>Top aligned labels</h4>
479479
&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; /&gt;
480480
&lt;/form&gt;</code>
481481
</pre>
482-
<hr>
483-
484-
<h4>Left aligned labels</h4>
485-
486-
<form class="left-labels">
487-
<label for="name"><span>Name</span> <input name="name" placeholder="Your Name" type="text"></label> <label for="website"><span>Your website</span>
488-
<input name="website" placeholder="http://" type="text"></label> <label for="message"><span>Message</span>
489-
<textarea name="message" placeholder="Your message">
490-
</textarea></label>
491-
492-
<fieldset class="radio">
493-
<label for="notifications"><span>Notifications</span></label>
494-
495-
<ul>
496-
<li><label><input name="notifications" type="radio"> Send me email</label></li>
497-
498-
<li><label><input name="notifications" type="radio"> Don't send me email</label></li>
499-
</ul>
500-
</fieldset><label for="remember"><span>Remember</span> <input name="remember" type="checkbox"> Remember me</label> <input type="submit" value="Submit">
501-
</form>
502-
<pre>
503-
<code>&lt;form class=&quot;left-labels&quot;&gt;
504-
&lt;label for=&quot;name&quot;&gt;
505-
&lt;span&gt;Name&lt;/span&gt;
506-
&lt;input type=&quot;text&quot; placeholder=&quot;Your Name&quot; name=&quot;name&quot;/&gt;
507-
&lt;/label&gt;
508-
&lt;label for=&quot;website&quot;&gt;
509-
&lt;span&gt;Your website&lt;/span&gt;
510-
&lt;input type=&quot;text&quot; placeholder=&quot;http://&quot; name=&quot;website&quot; /&gt;
511-
&lt;/label&gt;
512-
&lt;label for=&quot;message&quot;&gt;
513-
&lt;span&gt;Message&lt;/span&gt;
514-
&lt;textarea name=&quot;message&quot; placeholder=&quot;Your message&quot;&gt;&lt;/textarea&gt;
515-
&lt;/label&gt;
516-
517-
&lt;fieldset class=&quot;radio&quot;&gt;
518-
&lt;label for=&quot;notifications&quot;&gt;&lt;span&gt;Notifications&lt;/span&gt;&lt;/label&gt;
519-
&lt;ul&gt;
520-
&lt;li&gt;&lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications&quot;&gt; Send me email&lt;/label&gt;&lt;/li&gt;
521-
&lt;li&gt;&lt;label&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications&quot;&gt; Don&#039;t send me email&lt;/label&gt;&lt;/li&gt;
522-
&lt;/ul&gt;
523-
&lt;/fieldset&gt;
524-
525-
&lt;label for=&quot;remember&quot;&gt;&lt;span&gt;Remember&lt;/span&gt;
526-
&lt;input type=&quot;checkbox&quot; name=&quot;remember&quot;&gt; Remember me&lt;/label&gt;
527-
528-
&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; /&gt;
529-
&lt;/form&gt;</code>
530-
</pre>
531-
</div>
532482

533483
<h2 id="grid" class="block">Grid</h2>
534484

0 commit comments

Comments
 (0)