diff --git a/.gitignore b/.gitignore index 7a4438e..d11cfed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules _site *.lock +.jekyll-cache diff --git a/dist/chota.css b/dist/chota.css index 2bc9870..9393c3b 100644 --- a/dist/chota.css +++ b/dist/chota.css @@ -129,6 +129,7 @@ kbd { border-radius: 4px; padding: 0.2em 0.4em; background-color: var(--bg-secondary-color); + color: var(--color-error); } pre { background-color: var(--bg-secondary-color); @@ -731,11 +732,11 @@ button:disabled:hover { margin: auto 1rem; } .card { - padding: 1rem 2rem; - border-radius: 4px; - background: var(--bg-color); - -webkit-box-shadow: 0 1px 3px var(--color-grey); - box-shadow: 0 1px 3px var(--color-grey); + padding: 1rem 2rem; + border-radius: 4px; + background: var(--bg-color); + -webkit-box-shadow: 0 1px 3px var(--color-grey); + box-shadow: 0 1px 3px var(--color-grey); } .card p:last-child { margin: 0; diff --git a/docs/doc-styles.css b/docs/doc-styles.css index 27d21e8..141c293 100644 --- a/docs/doc-styles.css +++ b/docs/doc-styles.css @@ -1,152 +1,303 @@ body.dark { - --bg-color: #000; - --bg-secondary-color: #131316; - --font-color: #f5f5f5; - --color-grey: #ccc; - --color-darkGrey: #777; + --bg-color: #000; + --bg-secondary-color: #262626; + --font-color: #f5f5f5; + --color-grey: #bbb; + --color-darkGrey: #888; + --color-primary: #17c16f; + --color-error: #ea4f4f; } -body>.container { - max-width: 720px; +body > .container { + max-width: 720px; } .hero { - display: flex; - flex-direction: column; + display: flex; + flex-direction: column; } .logo { - flex: 1; - flex-direction: column; + flex: 1; + flex-direction: column; } .logo svg { - width: 100%; - max-width: 300px; + width: 100%; + max-width: 300px; } .logo h3 { - font-weight: 300; + font-weight: 300; } -body>footer { - background-color: #fafafa; - padding: 4rem; +body > footer { + background-color: #fafafa; + padding: 4rem; } -body.dark>footer { - background-color: #1a1a1a; +body.dark > footer { + background-color: #262626; } section { - margin: 5rem auto; + margin: 5rem auto; } #features ul { - list-style-type: none; - padding: 0; - font-size: 1.2em; - font-weight: 200; + list-style-type: none; + padding: 0; + font-size: 1.2em; + font-weight: 200; } figure.highlight { - margin-left: 0; - margin-right: 0; + margin-left: 0; + margin-right: 0; } hr { - margin: 3rem 0; + margin: 3rem 0; } #grid .card { - padding: 1rem 0rem; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: rgba(26, 159, 96, 0.2); - font-size: 1.2rem; + padding: 1rem 0rem; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + background-color: rgba(26, 159, 96, 0.2); + font-size: 1.2rem; +} + +body.dark #grid .card { + background-color: rgba(26, 159, 96, 0.4); +} + +body.dark .card { + box-shadow: 0 1px 3px var(--color-darkGrey); } .buttons { - display: flex; - flex-direction: column; - align-items: flex-start; + display: flex; + flex-direction: column; + align-items: flex-start; } .buttons > * { - margin: .5rem; + margin: 0.5rem; } .buttons > .button + .button { - margin-left: .5rem; + margin-left: 0.5rem; } -.highlight, code { background-color: var(--bg-secondary-color); } -.highlight .c { color: #93a1a1 } /* Comment */ -.highlight .err { color: #586e75 } /* Error */ -.highlight .g { color: #586e75 } /* Generic */ -.highlight .k { color: #859900 } /* Keyword */ -.highlight .l { color: #586e75 } /* Literal */ -.highlight .n { color: #586e75 } /* Name */ -.highlight .o { color: #859900 } /* Operator */ -.highlight .x { color: #cb4b16 } /* Other */ -.highlight .p { color: #586e75 } /* Punctuation */ -.highlight .cm { color: #93a1a1 } /* Comment.Multiline */ -.highlight .cp { color: #859900 } /* Comment.Preproc */ -.highlight .c1 { color: #93a1a1 } /* Comment.Single */ -.highlight .cs { color: #859900 } /* Comment.Special */ -.highlight .gd { color: #2aa198 } /* Generic.Deleted */ -.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #dc322f } /* Generic.Error */ -.highlight .gh { color: #cb4b16 } /* Generic.Heading */ -.highlight .gi { color: #859900 } /* Generic.Inserted */ -.highlight .go { color: #586e75 } /* Generic.Output */ -.highlight .gp { color: #586e75 } /* Generic.Prompt */ -.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #cb4b16 } /* Generic.Subheading */ -.highlight .gt { color: #586e75 } /* Generic.Traceback */ -.highlight .kc { color: #cb4b16 } /* Keyword.Constant */ -.highlight .kd { color: #22b3eb } /* Keyword.Declaration */ -.highlight .kn { color: #859900 } /* Keyword.Namespace */ -.highlight .kp { color: #859900 } /* Keyword.Pseudo */ -.highlight .kr { color: #22b3eb } /* Keyword.Reserved */ -.highlight .kt { color: #dc322f } /* Keyword.Type */ -.highlight .ld { color: #586e75 } /* Literal.Date */ -.highlight .m { color: #2aa198 } /* Literal.Number */ -.highlight .s { color: #2aa198 } /* Literal.String */ -.highlight .na { color: #586e75 } /* Name.Attribute */ -.highlight .nb { color: #B58900 } /* Name.Builtin */ -.highlight .nc { color: #22b3eb } /* Name.Class */ -.highlight .no { color: #cb4b16 } /* Name.Constant */ -.highlight .nd { color: #22b3eb } /* Name.Decorator */ -.highlight .ni { color: #cb4b16 } /* Name.Entity */ -.highlight .ne { color: #cb4b16 } /* Name.Exception */ -.highlight .nf { color: #22b3eb } /* Name.Function */ -.highlight .nl { color: #586e75 } /* Name.Label */ -.highlight .nn { color: #586e75 } /* Name.Namespace */ -.highlight .nx { color: #586e75 } /* Name.Other */ -.highlight .py { color: #586e75 } /* Name.Property */ -.highlight .nt { color: #22b3eb } /* Name.Tag */ -.highlight .nv { color: #22b3eb } /* Name.Variable */ -.highlight .ow { color: #859900 } /* Operator.Word */ -.highlight .w { color: #586e75 } /* Text.Whitespace */ -.highlight .mf { color: #2aa198 } /* Literal.Number.Float */ -.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */ -.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */ -.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */ -.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */ -.highlight .sc { color: #2aa198 } /* Literal.String.Char */ -.highlight .sd { color: #586e75 } /* Literal.String.Doc */ -.highlight .s2 { color: #2aa198 } /* Literal.String.Double */ -.highlight .se { color: #cb4b16 } /* Literal.String.Escape */ -.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */ -.highlight .si { color: #2aa198 } /* Literal.String.Interpol */ -.highlight .sx { color: #2aa198 } /* Literal.String.Other */ -.highlight .sr { color: #dc322f } /* Literal.String.Regex */ -.highlight .s1 { color: #2aa198 } /* Literal.String.Single */ -.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */ -.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #22b3eb } /* Name.Variable.Class */ -.highlight .vg { color: #22b3eb } /* Name.Variable.Global */ -.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */ -.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */ +.highlight, +code { + background-color: var(--bg-secondary-color); +} +.highlight .c { + color: #93a1a1; +} /* Comment */ +.highlight .err { + color: #586e75; +} /* Error */ +.highlight .g { + color: #586e75; +} /* Generic */ +.highlight .k { + color: #859900; +} /* Keyword */ +.highlight .l { + color: #586e75; +} /* Literal */ +.highlight .n { + color: #586e75; +} /* Name */ +.highlight .o { + color: #859900; +} /* Operator */ +.highlight .x { + color: #cb4b16; +} /* Other */ +.highlight .p { + color: #586e75; +} /* Punctuation */ +.highlight .cm { + color: #93a1a1; +} /* Comment.Multiline */ +.highlight .cp { + color: #859900; +} /* Comment.Preproc */ +.highlight .c1 { + color: #93a1a1; +} /* Comment.Single */ +.highlight .cs { + color: #859900; +} /* Comment.Special */ +.highlight .gd { + color: #2aa198; +} /* Generic.Deleted */ +.highlight .ge { + color: #586e75; + font-style: italic; +} /* Generic.Emph */ +.highlight .gr { + color: #dc322f; +} /* Generic.Error */ +.highlight .gh { + color: #cb4b16; +} /* Generic.Heading */ +.highlight .gi { + color: #859900; +} /* Generic.Inserted */ +.highlight .go { + color: #586e75; +} /* Generic.Output */ +.highlight .gp { + color: #586e75; +} /* Generic.Prompt */ +.highlight .gs { + color: #586e75; + font-weight: bold; +} /* Generic.Strong */ +.highlight .gu { + color: #cb4b16; +} /* Generic.Subheading */ +.highlight .gt { + color: #586e75; +} /* Generic.Traceback */ +.highlight .kc { + color: #cb4b16; +} /* Keyword.Constant */ +.highlight .kd { + color: #22b3eb; +} /* Keyword.Declaration */ +.highlight .kn { + color: #859900; +} /* Keyword.Namespace */ +.highlight .kp { + color: #859900; +} /* Keyword.Pseudo */ +.highlight .kr { + color: #22b3eb; +} /* Keyword.Reserved */ +.highlight .kt { + color: #dc322f; +} /* Keyword.Type */ +.highlight .ld { + color: #586e75; +} /* Literal.Date */ +.highlight .m { + color: #2aa198; +} /* Literal.Number */ +.highlight .s { + color: #2aa198; +} /* Literal.String */ +.highlight .na { + color: #586e75; +} /* Name.Attribute */ +.highlight .nb { + color: #b58900; +} /* Name.Builtin */ +.highlight .nc { + color: #22b3eb; +} /* Name.Class */ +.highlight .no { + color: #cb4b16; +} /* Name.Constant */ +.highlight .nd { + color: #22b3eb; +} /* Name.Decorator */ +.highlight .ni { + color: #cb4b16; +} /* Name.Entity */ +.highlight .ne { + color: #cb4b16; +} /* Name.Exception */ +.highlight .nf { + color: #22b3eb; +} /* Name.Function */ +.highlight .nl { + color: #586e75; +} /* Name.Label */ +.highlight .nn { + color: #586e75; +} /* Name.Namespace */ +.highlight .nx { + color: #586e75; +} /* Name.Other */ +.highlight .py { + color: #586e75; +} /* Name.Property */ +.highlight .nt { + color: #22b3eb; +} /* Name.Tag */ +.highlight .nv { + color: #22b3eb; +} /* Name.Variable */ +.highlight .ow { + color: #859900; +} /* Operator.Word */ +.highlight .w { + color: #586e75; +} /* Text.Whitespace */ +.highlight .mf { + color: #2aa198; +} /* Literal.Number.Float */ +.highlight .mh { + color: #2aa198; +} /* Literal.Number.Hex */ +.highlight .mi { + color: #2aa198; +} /* Literal.Number.Integer */ +.highlight .mo { + color: #2aa198; +} /* Literal.Number.Oct */ +.highlight .sb { + color: #93a1a1; +} /* Literal.String.Backtick */ +.highlight .sc { + color: #2aa198; +} /* Literal.String.Char */ +.highlight .sd { + color: #586e75; +} /* Literal.String.Doc */ +.highlight .s2 { + color: #2aa198; +} /* Literal.String.Double */ +.highlight .se { + color: #cb4b16; +} /* Literal.String.Escape */ +.highlight .sh { + color: #586e75; +} /* Literal.String.Heredoc */ +.highlight .si { + color: #2aa198; +} /* Literal.String.Interpol */ +.highlight .sx { + color: #2aa198; +} /* Literal.String.Other */ +.highlight .sr { + color: #dc322f; +} /* Literal.String.Regex */ +.highlight .s1 { + color: #2aa198; +} /* Literal.String.Single */ +.highlight .ss { + color: #2aa198; +} /* Literal.String.Symbol */ +.highlight .bp { + color: #22b3eb; +} /* Name.Builtin.Pseudo */ +.highlight .vc { + color: #22b3eb; +} /* Name.Variable.Class */ +.highlight .vg { + color: #22b3eb; +} /* Name.Variable.Global */ +.highlight .vi { + color: #22b3eb; +} /* Name.Variable.Instance */ +.highlight .il { + color: #2aa198; +} /* Literal.Number.Integer.Long */ diff --git a/docs/index.html b/docs/index.html index 3a41cd9..bed341b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,9 +8,9 @@ chota - A micro CSS framework - + - + @@ -28,7 +28,7 @@ start docs GitHub - ☀️ + ☀️ @@ -113,7 +113,7 @@ /* Other styles..... */ {% endhighlight %}
-

Addtionally, you can add dark mode to you site, to support devices that prefer dark mode.

+

Addtionally, you can add dark mode to your site, to support devices that prefer dark mode.

{% highlight html %} - + body.dark { + --bg-color: #000; + --bg-secondary-color: #131316; + --font-color: #f5f5f5; + --color-grey: #ccc; + --color-darkGrey: #777; + } + + - -
-

- ☀️ -

-

Nav

-
-
- -
-
-
- -
-
-
- -
-

Tabs

-
- Tab 1 - Tab 2 - Tab 3 -
-
-
-
-
- Tab 1 - Tab 2 - Tab 3 -
-
-
-

Card

-
-
-
-
-

Card title

-
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et - dolore - magna aliqua. Ut enim ad minim veniam, quis nostrud exercit.

- +
+
+
.col
+
+
+
.col
+
+
+
.col
-
-
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et - dolore - magna aliqua. Ut enim ad minim veniam, quis nostrud exercit.

-

Ipsa magnam consequatur itaque, mollitia non quam voluptate consequuntur dignissimos recusandae ea quas, - nobis, - debitis officia iure minus et dolore, reprehenderit sapiente iste. Eligendi eveniet ut qui at, deleniti - enim!

+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
+
+
+
.col-1
-
-
-
-

Tag

-

- One - Two - Three - Small - Large -

-
-
-

Grid

-
-
-
.col
+
+
+
.col-2
+
+
+
.col-2
+
+
+
.col-2
+
+
+
.col
+
-
-
-
-
.col
+
+
+
.col-3
+
+
+
.col-3
+
+
+
.col-3
+
+
+
.col-3
+
-
-
.col
+
+
+
.col-4
+
+
+
.col-4
+
+
+
.col-4
+
-
-
.col
+
+
+
.col-5
+
+
+
.col-5
+
+
+
.col
+
-
-
-
-
.col-1
+
+
+
.col-6
+
+
+
.col-6
+
-
-
.col-1
+
+
+
.col-7
+
+
+
.col
+
+
+
.col-1
+
-
-
.col-1
+
+
+
.col-8
+
+
+
.col
+
+
+
.col-1
+
-
-
.col-1
+
+
+
.col-9
+
+
+
.col
+
+
+
.col-1
+
-
-
.col-1
+
+
+
.col-10
+
+
+
.col
+
-
-
.col-1
+
+
+
.col-11
+
+
+
.col
+
-
-
.col-1
+
+
+
.col-12
+
-
-
.col-1
+

Responsive grids:

+
+
+
.col-12.col-6-md.col-4-lg
+
+
+
.col-6.col-3-md.col-4-lg
+
+
+
.col-6.col-3-md.col-4-lg
+
-
-
.col-1
+
+
+
.col.col-6-lg
+
+
+
.col.col-3-lg
+
+
+
.col.col-3-lg
+
-
-
.col-1
+
+
+
.hide-sm
+
+
+
.hide-md
+
+
+
.hide-lg
+
-
-
.col-1
+
+
+

Helpers

+

Text color

+

Primary

+

Light

+

Grey

+

Dark

+

Error

+

Success

+

Background color

+
+
+
.bg-primary
+
+
+
.bg-light
+
+
+
.bg-grey
+
+
+
.bg-dark
+
+
+
.bg-success
+
+
+
.bg-error
+
-
-
.col-1
-
- -
-
-
.col-2
-
-
-
.col-2
-
-
-
.col-2
-
-
-
.col
-
-
-
-
-
.col-3
-
-
-
.col-3
-
-
-
.col-3
-
-
-
.col-3
-
-
-
-
-
.col-4
-
-
-
.col-4
-
-
-
.col-4
-
-
-
-
-
.col-5
-
-
-
.col-5
-
-
-
.col
-
-
-
-
-
.col-6
-
-
-
.col-6
-
-
-
-
-
.col-7
-
-
-
.col
-
-
-
.col-1
-
-
-
-
-
.col-8
-
-
-
.col
-
-
-
.col-1
-
-
-
-
-
.col-9
-
-
-
.col
-
-
-
.col-1
-
-
-
-
-
.col-10
-
-
-
.col
-
-
-
-
-
.col-11
-
-
-
.col
-
-
-
-
-
.col-12
-
-
-

Responsive grids:

-
-
-
.col-12.col-6-md.col-4-lg
-
-
-
.col-6.col-3-md.col-4-lg
-
-
-
.col-6.col-3-md.col-4-lg
-
-
-
-
-
.col.col-6-lg
-
-
-
.col.col-3-lg
-
-
-
.col.col-3-lg
-
-
-
-
-
.hide-sm
-
-
-
.hide-md
-
-
-
.hide-lg
-
-
-
-
-

Helpers

-

Text color

-

Primary

-

Light

-

Grey

-

Dark

-

Error

-

Success

-

Background color

-
-
-
.bg-primary
-
-
-
.bg-light
-
-
-
.bg-grey
-
-
-
.bg-dark
-
-
-
.bg-success
-
-
-
.bg-error
-
-
-

Responsive Helpers

-
.hide-xs
-
.hide-sm
-
.hide-md
-
.hide-lg
-
-
-

Icons

- - - - - -
- -

-
-

- - - - \ No newline at end of file +

Responsive Helpers

+
.hide-xs
+
.hide-sm
+
.hide-md
+
.hide-lg
+ +
+

Icons

+ + + + + +
+ +

+
+

+ + + diff --git a/test/index.html b/test/index.html index 636ffdd..89967af 100644 --- a/test/index.html +++ b/test/index.html @@ -1,550 +1,761 @@ - + + + + + Elements + + + - - - - Elements - - - - - -
-
-

- ☀️ -

-

Chota CSS

-
-

A small CSS framework.

-
- -
-
-
-

Text

-
-
-

Headings

-
-
-

Heading 1

-

Heading 2

-

Heading 3

-

Heading 4

-
Heading 5
-
Heading 6
-
- -
-
-
-

Paragraphs

-
-

A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required - by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

-
- -
-
-
-

Blockquotes

-
-
-

A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text.

-

It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom.

- Said no one, ever. -
-
- -
- - -
-
-

Tabular data

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table Caption
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
-
-

Table with strips. Just add the striped class to <table>.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table Caption
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
- -
-
-
-

Code

-
-

Keyboard input: Cmd

-

Inline code: <div>code</div>

-

Sample output: This is sample output from a computer program.

-

Pre-formatted text

-
P R E F O R M A T T E D T E X T
+            

Text

+ +
+
+

Headings

+
+
+

Heading 1

+

Heading 2

+

Heading 3

+

Heading 4

+
Heading 5
+
Heading 6
+
+ +
+
+
+

Paragraphs

+
+
+

+ A paragraph (from the Greek paragraphos, “to write beside” or + “written beside”) is a self-contained unit of a discourse in + writing dealing with a particular point or idea. A paragraph + consists of one or more sentences. Though not required by the + syntax of any language, paragraphs are usually an expected part + of formal writing, used to organize longer prose. +

+
+ +
+
+
+

Blockquotes

+
+
+
+

+ A block quotation (also known as a long quotation or extract) + is a quotation in a written document, that is set off from the + main text as a paragraph, or block of text. +

+

+ It is typically distinguished visually using indentation and a + different typeface or smaller size quotation. It may or may + not include a citation, usually placed at the bottom. +

+ Said no one, ever. +
+
+ +
+
+
+

Lists

+
+
+

Definition list

+
+
Definition List Title
+
This is a definition list division.
+
+

Ordered List

+
    +
  1. List Item 1
  2. +
  3. List Item 2
  4. +
  5. List Item 3
  6. +
+

Unordered List

+
    +
  • List Item 1
  • +
  • List Item 2
  • +
  • List Item 3
  • +
+
+ +
+
+
+

Horizontal rules

+
+
+
+
+ +
+
+
+

Tabular data

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Table Caption +
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
+
+

+ Table with strips. Just add the striped class to + <table>. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Table Caption +
Table Heading 1Table Heading 2Table Heading 3Table Heading 4Table Heading 5
Table Footer 1Table Footer 2Table Footer 3Table Footer 4Table Footer 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
Table Cell 1Table Cell 2Table Cell 3Table Cell 4Table Cell 5
+ +
+
+
+

Code

+
+
+

Keyboard input: Cmd

+

+ Inline code: + <div>code</div> +

+

+ Sample output: + This is sample output from a computer program. +

+

Pre-formatted text

+
+P R E F O R M A T T E D T E X T
   ! " # $ % & ' ( ) * + , - . /
   0 1 2 3 4 5 6 7 8 9 : ; < = > ?
   @ A B C D E F G H I J K L M N O
   P Q R S T U V W X Y Z [ \ ] ^ _
   ` a b c d e f g h i j k l m n o
   p q r s t u v w x y z { | } ~
-  ~ 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ 
-
<h2>Pre-formatted text</h2>
-
- -
-
-
-

Inline elements

-
-

This is a text link.

-

Strong is used to indicate strong importance.

-

This text has added emphasis.

-

The b element is stylistically different text from normal text, without any special importance.

-

The i element is text that is offset from the normal text.

-

The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.

-

This text is deleted and This text is inserted.

-

This text has a strikethrough.

-

Superscript®.

-

Subscript for things like H2O.

-

This small text is small for for fine print, etc.

-

Abbreviation: HTML

-

This text is a short inline quotation.

-

This is a citation.

-

The dfn element indicates a definition.

-

The mark element indicates a highlight.

-

The variable element, such as x = y.

-

The time element:

-
- -
-
+ ~ 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ +
<h2>Pre-formatted text</h2>
+
+ + +
+
+

Inline elements

+
+
+

This is a text link.

+

+ Strong is used to indicate strong importance. +

+

This text has added emphasis.

+

+ The b element is stylistically different text from normal + text, without any special importance. +

+

+ The i element is text that is offset from the normal + text. +

+

+ The u element is text with an unarticulated, though + explicitly rendered, non-textual annotation. +

+

+ This text is deleted and + This text is inserted. +

+

This text has a strikethrough.

+

Superscript®.

+

Subscript for things like H2O.

+

+ This small text is small for for fine print, etc. +

+

+ Abbreviation: + HTML +

+

+ This text is a short inline quotation. +

+

This is a citation.

+

The dfn element indicates a definition.

+

The mark element indicates a highlight.

+

+ The variable element, such as x = + y. +

+

+ The time element: + +

+
+ +
+ -
-
-

Embedded content

-
+
-

Images

-
-

No <figure> element

-

Image alt text

-

Wrapped in a <figure> element, no <figcaption>

-
Image alt text
-

Wrapped in a <figure> element, with a <figcaption>

-
- Image alt text -
Here is a caption for this image.
-
-
- -
-
+

Embedded content

+ +
+
+

Images

+
+
+

No <figure> element

+

+ Image alt text +

+

+ Wrapped in a <figure> element, no + <figcaption> +

+
+ Image alt text +
+

+ Wrapped in a <figure> element, with a + <figcaption> +

+
+ Image alt text +
Here is a caption for this image.
+
+
+ +
+
+
+

Audio

+
+
+ +
+
+
+

Video

+
+
+ +
+
+
+

Canvas

+
+
canvas
+ +
+
+
+

Meter

+
+
2 out of 10
+ +
+
+
+

Progress

+
+
progress
+ +
+
+
+

Inline SVG

+
+
+ + + +
+ +
+
+
+

IFrame

+
+
+ +
+
+
-

Audio

-
- - -
-
-

Video

-
- -
-
-
-

Canvas

-
canvas
- -
-
-
-

Meter

-
2 out of 10
- -
-
-
-

Progress

-
progress
- -
-
-
-

Inline SVG

-
- -
-
-
-

IFrame

-
- -
-
-
-
-

Form elements

- -
- Input fields -

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - - -

-
-

[Top]

-
- Select menus -

- - -

-
-

[Top]

-
- Checkboxes - -
-

[Top]

-
- Radio buttons - -
-

[Top]

-
- Textareas -

- - -

-
-

[Top]

-
- HTML5 inputs -

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-

- - -

-
-

[Top]

-
- Action buttons -

- - - - -

-

- - - - -

-

- a.button - a.button.primary - a.button.secondary - a.button.dark - a.button.error - a.button.success -

-

- a.button.outline - a.button.outline.primary - a.button.outline.secondary - a.button.outline.dark - a.button.clear -

-
-

[Top]

- -
- - - - - +

+ +

[Top]

+
+ Checkboxes + +
+

[Top]

+
+ Radio buttons + +
+

[Top]

+
+ Textareas +

+ + +

+
+

[Top]

+
+ HTML5 inputs +

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+

[Top]

+
+ Action buttons +

+ + + + +

+

+ + + + +

+

+ a.button + a.button.primary + a.button.secondary + a.button.dark + a.button.error + a.button.success +

+

+ a.button.outline + a.button.outline.primary + a.button.outline.secondary + a.button.outline.dark + a.button.clear +

+
+

[Top]

+ + + + + +