diff --git a/docs/index.html b/docs/index.html index f32d7cf36a..2987de792b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -58,7 +58,7 @@
Hotlink the CSS

For the quickest and easiest start, just copy this snippet into your webpage.

- +
@@ -288,15 +288,16 @@

Emphasis tags (<strong> and <em>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <strong> for plain old attention and <em> for slick attention and titles.

Emphasis in a paragraph

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

+

Note: It's still okay to use <b> and <i> tags in HTML5, but they don't come with inherent styles anymore. <b> is meant to convey importance while <i> is mostly for voice, technical terms, etc.

Addresses

-

The address element is used for—you guessed it!—addresses. Here's how it looks:

+

The address element is used for contact information for its nearest ancestor, or the entire body of work. Here's how it looks:

- Twitter, Inc.
- 795 Folsom Ave, Suite 600
- San Francisco, CA 94107
- P: (123) 456-7890 + Twitter, Inc.
+ 795 Folsom Ave, Suite 600
+ San Francisco, CA 94107
+ P: (123) 456-7890
-

Note: Each line in an address must end with a line-break (<br />) to properly structure the content as it is read in real life without any styles applied.

+

Note: Each line in an address must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., p) to properly structure the content.

Abbreviations

For abbreviations and acronyms, use the abbr tag (acronym is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.

@@ -308,14 +309,14 @@

<blockquote> <p> - <cite> + <small>

-

Be sure to wrap your blockquote around paragraph and cite tags. When citing a source, use the cite element. The CSS will automatically preface a name with an em dash (&mdash;).

+

Be sure to wrap your blockquote around paragraph and small tags. When citing a source, use the small element. The CSS will automatically preface a name with an em dash (&mdash;).

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...

- Dr. Julius Hibbert +

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua...

+ Dr. Julius Hibbert
@@ -324,78 +325,78 @@

Lists

-

Unordered <ul>

- +

Unordered <ul>

+
-

Unstyled <ul.unstyled>

- +

Unstyled <ul.unstyled>

+

Ordered <ol>

    -
  1. Jeremy Bixby
  2. -
  3. Robert Dezure
  4. -
  5. Josh Washington
  6. -
  7. Anton Capresi
  8. -
  9. My Team Mates -
      -
    1. George Castanza
    2. -
    3. Jerry Seinfeld
    4. -
    5. Cosmo Kramer
    6. -
    7. Elaine Bennis
    8. -
    9. Newman
    10. -
    -
  10. -
  11. John Jacob
  12. -
  13. Paul Pierce
  14. -
  15. Kevin Garnett
  16. +
  17. Jeremy Bixby
  18. +
  19. Robert Dezure
  20. +
  21. Josh Washington
  22. +
  23. Anton Capresi
  24. +
  25. My Team Mates +
      +
    1. George Castanza
    2. +
    3. Jerry Seinfeld
    4. +
    5. Cosmo Kramer
    6. +
    7. Elaine Bennis
    8. +
    9. Newman
    10. +
    +
  26. +
  27. John Jacob
  28. +
  29. Paul Pierce
  30. +
  31. Kevin Garnett

Description dl

-
Description lists
-
A description list is perfect for defining terms.
-
Euismod
-
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
-
Donec id elit non mi porta gravida at eget metus.
-
Malesuada porta
-
Etiam porta sem malesuada magna mollis euismod.
+
Description lists
+
A description list is perfect for defining terms.
+
Euismod
+
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
+
Donec id elit non mi porta gravida at eget metus.
+
Malesuada porta
+
Etiam porta sem malesuada magna mollis euismod.
@@ -429,34 +430,34 @@

Example: Default table styles

All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameLanguage
1SomeOneEnglish
2JoeSixpackEnglish
3StuDentCode
#First NameLast NameLanguage
1SomeOneEnglish
2JoeSixpackEnglish
3StuDentCode
 <table class="common-table">
@@ -466,34 +467,34 @@
 

Example: Zebra-striped

Get a little fancy with your tables by adding zebra-striping—just add the .zebra-striped class.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameLanguage
1SomeOneEnglish
2JoeSixpackEnglish
3StuDentCode
#First NameLast NameLanguage
1SomeOneEnglish
2JoeSixpackEnglish
3StuDentCode
 <table class="common-table zebra-striped">
@@ -503,34 +504,34 @@
 

Example: Zebra-striped w/ TableSorter.js

Taking the previous example, we improve the usefulness of our tables by providing sorting functionality via jQuery and the Tablesorter plugin. Click any column's header to change the sort.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#First NameLast NameLanguage
1YourOneEnglish
2JoeSixpackEnglish
3StuDentCode
#First NameLast NameLanguage
1YourOneEnglish
2JoeSixpackEnglish
3StuDentCode
 <script type="text/javascript" src="js/jquery/jquery.tablesorter.min.js"></script>
@@ -808,8 +809,8 @@
     

Example buttons

Button styles can be applied to anything with the .btn applied. Typically you'll want to apply these to only a, button, and select input elements. Here's how it looks:

- - + +

Alternate sizes

Fancy larger or smaller buttons? Have at it!