From c67deb4708c44178c3a0ea46d8279da1672c32b7 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 5 Jun 2018 21:31:02 +0800 Subject: Update docs demo margin --- docs/elements.html | 96 ++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 54 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index 7038e74..0a96949 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -133,7 +133,7 @@

Typography

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

Headings

-
+

H1 Heading 40px

@@ -166,7 +166,7 @@ <p>...</p>

Semantic text elements

-
+
I18Nabbr
Boldstrongb
@@ -260,7 +260,7 @@ </blockquote>

Lists

-
+
  • list item 1
  • @@ -320,7 +320,7 @@

    Tables

    Tables include default styles for tables and data sets.

    -
    +
    @@ -381,7 +381,7 @@

    Buttons

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

    -
    +
    @@ -396,7 +396,7 @@ <button class="btn btn-link">link button</button>

    Button colors

    -
    +
    @@ -409,7 +409,7 @@ <button class="btn btn-error">error button</button>

    Button sizes

    -
    +
    @@ -436,7 +436,7 @@ <button class="btn btn-primary btn-sm"><i class="icon icon-arrow-left"></i> small</button>

    Please note that you could use the btn-action class for a square button, or add another circle class for a round button, which is often used as a Float Action Button (FAB).

    -
    +
    @@ -453,7 +453,7 @@

    Button states

    Add the active class for active button state style.

    -
    +
    @@ -461,7 +461,7 @@

    Add the disabled class or the disabled attribute for disabled button state style.

    -
    +
    @@ -473,7 +473,7 @@ <button class="btn" disabled tabindex="-1">disabled button</button>

    A button with the loading class can show loading indicator.

    -
    +
    @@ -485,31 +485,29 @@ <button class="btn btn-primary loading">primary button</button>

    Button groups

    -
    -
    +
    +
    -
    +
    -
    -
    -
    +
    -
    +
    @@ -529,7 +527,7 @@

    Forms

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

    -
    +
    @@ -547,7 +545,7 @@ <input class="form-input" type="text" id="input-example-1" placeholder="Name"> </div> -
    +
    @@ -561,7 +559,7 @@ <textarea class="form-input" id="input-example-3" placeholder="Textarea" rows="3"></textarea> </div> -
    +
    -
    -
    @@ -789,7 +785,7 @@

    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>.

    -
    +
    @@ -805,8 +801,6 @@
    -
    -
    @@ -830,7 +824,7 @@ </div>

    You can use the loading class for loading or posting state.

    -
    +
    @@ -854,7 +848,7 @@ </div>

    Input types

    -
    +
    @@ -933,8 +927,8 @@

    Input groups

    -
    -
    +
    +
    -
    +
    slack.com/
    -
    -
    -
    +
    -
    +
    slack.com/
    -
    -
    -
    +
    -
    +
    -
    -
    -
    +
    -
    +
    slack.com/ @@ -1031,7 +1019,7 @@

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

    -
    +
    Input @@ -1122,7 +1110,7 @@

    Form disabled styles

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

    -
    +
    @@ -1220,7 +1208,7 @@

    Add the label class to <span> or <small> elements. You can add another class label-primary, label-secondary, label-success, label-warning and label-error for colored labels.

    -
    +
    default labelprimary label

    Add the label-rounded class to have rounded labels.

    @@ -1260,7 +1248,7 @@

    Add the img-fit-contain or img-fit-cover class to <img> or <video> elements. The media will crop itself to fit inside the element (and you don't need another container). This feature can replace the classic background image trick. Microsoft Edge support is shipped with Build Number 16299+.

    -
    +
    macOS Yosemite Wallpaper
    img-fit-contain
    @@ -1283,7 +1271,7 @@ And the included class figure-caption will provide basic style for caption. Also, you can use text-left, text-center and text-right for caption alignment.

    -
    +
    macOS Yosemite Wallpaper
    macOS Yosemite wallpaper
    @@ -1296,7 +1284,7 @@ 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.

    -
    +
    -- cgit v1.3.1-23-gd82d