From 324d2584157d0fb0ef807664ea2ca2325a191b45 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Fri, 7 Oct 2016 17:56:07 +0800 Subject: Fix examples responsive issues --- index.html | 165 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 88 insertions(+), 77 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index e1c5d83..c397723 100644 --- a/index.html +++ b/index.html @@ -93,7 +93,7 @@

There are 3 ways to get started with Spectre CSS framework in your projects. You can either manually install or use NPM and Bower.

Install manually
-

Download the compiled and minified Spectre CSS file (about 27KB):

+

Download the compiled and minified Spectre CSS file (about 30KB):

Download Spectre.css

Install with NPM
@@ -155,7 +155,7 @@
-
+
typography tables buttons @@ -220,7 +220,7 @@
lists
-
+
  • list item 1
  • list item 2 @@ -233,7 +233,7 @@
  • list item 3
-
+
  1. list item 1
  2. list item 2 @@ -246,7 +246,7 @@
  3. list item 3
-
+
description list term 1
description list description 1
@@ -360,15 +360,15 @@
-
+
-
+
-
+
@@ -392,13 +392,13 @@
-
+
-
+
-
+
@@ -406,12 +406,12 @@
button sizes
-
+
-
+
@@ -447,14 +447,14 @@
button groups
-
+
-
+
@@ -463,14 +463,14 @@
-
+
-
+
@@ -500,7 +500,7 @@

-
+
@@ -717,7 +717,7 @@
-
+
@@ -785,19 +785,19 @@
input groups
-
+
slack.com/
-
+
@slack.com
-
+
slack.com/ @@ -806,13 +806,13 @@
-
+
slack.com/
-
+
@slack.com @@ -879,7 +879,7 @@

Media include responsive image and video class.

-
+
@@ -887,7 +887,7 @@

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

-
+
@@ -934,7 +934,7 @@
-
+
flexbox grid responsive empty states @@ -1022,10 +1022,10 @@
-

Add the class col-multiline to have a multiline grid.

+

By default, Spectre grid has multi-line flexbox enabled. You can add the class col-oneline to columns to make all its child columns positioned in the same single row.

-
+
col-8
@@ -1133,7 +1133,7 @@

Empty states/blank slates are commonly used as placeholders for first time use, empty data and error screens.

-
+

You have no new messages

@@ -1141,7 +1141,7 @@
-
+

You are not following anyone

@@ -1195,7 +1195,7 @@
-
+
avatars chips autocomplete @@ -1216,7 +1216,7 @@

Avatars are user profile pictures.

-
+
@@ -1233,7 +1233,7 @@
-
+
@@ -1256,29 +1256,40 @@
-
+
-
-
-
-
+
+
+
+
+
-
+
+

Add the class avatar to <img> element. There are 4 additional sizes available, including avatar-xl (64px), avatar-lg (48px), avatar-sm (24px), and avatar-xs (16px). By default, the avatar size is 32px.

+

For users who don't have profile pictures, you may use their initials for avatars. Add the class avatar and avatar size class to <div> element. The attribute data-initial is the name appear inside the avatar.

+
+ +
+
-
+
+
+ +
+
+ +
+
+ +
-
-

Add the class avatar to <img> element. There are 4 additional sizes available, including avatar-xl (64px), avatar-lg (48px), avatar-sm (24px), and avatar-xs (16px). By default, the avatar size is 32px.

-

For users who don't have profile pictures, you may use their initials for avatars. Add the class avatar and avatar size class to <div> element. The attribute data-initial is the name appear inside the avatar.

-
-
 <figure class="avatar avatar-xl">
@@ -1306,7 +1317,7 @@
                 

Chips are complex entities in small blocks.

-
+
Crime @@ -1325,7 +1336,7 @@
-
+
Tony Stark @@ -1376,7 +1387,7 @@

Autocomplete form component provides suggestions while you type. It is often used for tags and contacts input.

-
+
@@ -1409,7 +1420,7 @@
-
+
@@ -1437,7 +1448,7 @@
-
+
@@ -1537,16 +1548,16 @@

Tooltips provide context information labels that appear on hover and focus.

-
+
-
+
-
+
-
+
@@ -1569,22 +1580,22 @@

Badges are often used as unread number indicators.

-
+
Notifications
-
+
Notifications
-
+
Notifications
-
+
Notifications @@ -1609,13 +1620,13 @@

Toasts are used to show alert or information to users.

-
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. @@ -1623,13 +1634,13 @@
-
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. @@ -1663,7 +1674,7 @@

A menu is a vertical list of links or buttons for actions and navigation.

-
+
-
+
-
+