From f4057ff8d3a36350728411de0010fdcf10dfc860 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 4 Aug 2017 00:45:56 +0800 Subject: Minor update to the Docs --- docs/elements.html | 60 ++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 31 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index 41b612e..a196a4c 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -254,11 +254,11 @@
-

Typography

+

Typography

Typography sets default styles for headings, paragraphs, semantic text, blockquote and lists elements.

-

Headings

+

Headings

H1 Title 5rem

H2 Title 4rem

@@ -273,7 +273,7 @@ <h2>H2 Title <small class="label">4rem</small></h2> -

Paragraphs

+

Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, dictum in vehicula sit amet, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.

Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.

@@ -283,7 +283,7 @@
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, <a href="#">dictum in vehicula sit amet</a>, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.</p>
 
-

Semantic text elements

+

Semantic text elements

I18N @@ -362,7 +362,7 @@
-

Optimized for east asian fonts

+

Optimized for east asian fonts

你好, こんにちは, 안녕하세요

Chinese (Simplified)
@@ -397,7 +397,7 @@ <p class="cjk"><del>祇園</del><del>精舎</del>の鐘の声、諸行無常の響きあり。……</p> -

Blockquote

+

Blockquote

The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life.

- Bill Gates @@ -410,7 +410,7 @@ </blockquote> -

Lists

+

Lists

    @@ -474,7 +474,7 @@
-

Tables

+

Tables

Tables include default styles for tables and data sets.

@@ -536,7 +536,7 @@
-

Buttons

+

Buttons

Buttons include simple button styles for actions in different types and sizes.

@@ -601,7 +601,7 @@ <button class="btn loading">button</button> -

Button sizes

+

Button sizes

@@ -649,7 +649,7 @@ <button class="btn btn-action circle"><i class="icon icon-arrow-left"></i></button> -

Button groups

+

Button groups

@@ -697,7 +697,7 @@
-

Forms

+

Forms

Forms provide the most common control styles used in forms, including input, textarea, select, checkbox, radio and switch.

@@ -809,7 +809,7 @@

You can use :indeterminate pseudo class for indeterminate state of checkboxes.

-

Horizontal forms

+

Horizontal forms

If you want to have a horizontal form, add the form-horizontal class to the <form> container. And add the col-[1-12] class to the child elements for form row layout.

@@ -908,7 +908,7 @@ </form> -

Form sizes

+

Form sizes

For smaller or larger input and select controls, you could add the input-sm/input-lg, select-sm/select-lg and label-sm/label-lg classes to the elements.

@@ -945,7 +945,7 @@
-

Form icons

+

Form icons

Add a wrapper with the has-icon-left/has-icon-right class to <input> element. And add the icon with form-icon class next to the <input>.

@@ -1030,7 +1030,7 @@ </div> -

Input types

+

Input types

@@ -1110,7 +1110,7 @@
-

Input groups

+

Input groups

@@ -1193,7 +1193,7 @@ </div> -

Form validation styles

+

Form validation styles

To use form validation styles, add is-success or is-error class to the controls or add has-success or has-error class to parent elements. You can use the form-input-hint class to provide form validation success and error messages.

@@ -1292,7 +1292,7 @@ </form> -

Form disabled styles

+

Form disabled styles

Add the disabled attribute to the element or <fieldset> for a disabled form components style.

@@ -1346,11 +1346,11 @@
-

Icons experimental

+

Icons experimental

Icons are single-element, responsive and pure CSS icons. You can include spectre-icons.css located in the dist folder to your web <head> to have these CSS icons.

-

Navigation

+

Navigation

-

Action

+

Action

-

Object

+

Object

-

Labels

+

Labels

Labels are formatted text tags for highlighted, informative information.

@@ -1620,7 +1620,7 @@
-

Codes

+

Codes

Codes are inline and multiline code snippets.

For inline code, you can use the element <code>. For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. The data-lang attribute is rendered as the language name in the top right.

@@ -1643,11 +1643,11 @@
-

Media

+

Media

Media includes responsive images, figures and video classes.

-

Images

+

Images

Add the img-responsive class to <img> elements. The images will scale with the parent sizes.

@@ -1698,7 +1698,7 @@ </figure> -

Video

+

Video

For responsive video, add a container with the video-responsive class. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add video-responsive-4-3 for 4:3 ratio video container or video-responsive-1-1 for 1:1 ratio.

@@ -1741,9 +1741,7 @@ -- cgit v1.3.1-23-gd82d