From 0f1f30c8b66fd9067c3abaf76503a0002b1e8abf Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 18 Apr 2016 16:55:03 +0800 Subject: update doc and Readme --- README.md | 2 +- index.html | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c2c31f5..af4f419 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ And include it in your website or Web app <head> part. - [tooltips](http://picturepan2.github.io/spectre/#tooltips) - simple tooltip built entirely in CSS - [labels](http://picturepan2.github.io/spectre/#labels) - formatted text tags for highlighted, informative information - [badges](http://picturepan2.github.io/spectre/#badges) - unread number indicators -- [toasts](http://picturepan2.github.io/spectre/#toasts) +- [toasts](http://picturepan2.github.io/spectre/#toasts) - showing alerts or notifications - [menus](http://picturepan2.github.io/spectre/#menus) - list of links or buttons for actions and navigation - [navigation](http://picturepan2.github.io/spectre/#navigation) - breadcrumb, tabs and pagination - [modals](http://picturepan2.github.io/spectre/#modals) - flexible dialog prompts diff --git a/index.html b/index.html index 56553be..7784388 100644 --- a/index.html +++ b/index.html @@ -300,22 +300,31 @@
-
-
col-2
+
+
col-12 (100%)
-
-
col-4
+
+
+
+
col-9 (75%)
-
-
col-4
+
+
+
+
col-6 (50%)
-
-
col-2
+
+
+
+
col-3 (25%)

Add the class columns to a container. And add any element you want with classname column inside the container. These columns will take up the space equally. You can specific the width of each column by adding class col-[1-12].

+
+

When the width of browser viewport is less than 840px and more than 480px, the col-[1-11] will be 50% width to the parent elements.

+
-- 
cgit v1.3.1-26-gb76a