Beta Testing









介紹

aLib 是一套輕量級的 CSS 套件,著重的重點是版面安排、圖文區塊的安排等基本排版內容。aLib 使用 Normalize.css 作為初值化基礎,僅修改小部份原始 HTML 標籤格式,例如 H1~H6 標題。

自動自適應編排

aLib 的網格系統,針對手機直式、手機橫式、平板橫式及大畫面等不同顯示裝置,自動調整編排。使用者不需要針對同一區塊內容,加注不同尺寸大小的 CSS 樣式。

下列三種裝置,一般撰寫方式為 <div class="col-xs-6 col-sm-3 col-lg-2"></div> 在 aLib 中只要寫成 <div class="grid4"></div> 就完成

4
4
6
8
12
4
4
4
4
6
6
6
8
8
12
4
4
4
4
4
4
6
6
6
6
8
8
8
12
12
24
 

中文也行

aLib 大部份樣式名稱,都支援中文,例如 .text-shadow 也可以寫成 .文字陰影

aLib 的 CSS 樣式名稱,中文嘛 A 通

aLib 的 CSS 樣式名稱,中文嘛 A 通

無 Javascript

aLib 不包含任何 Javascript,一切動畫或動作,都由 CSS transition 或 animation 完成

中文字型

aLib 連結 Google 提供的中文網際字型,共有:
字型 CSS Name aLib CSS
仿宋 cwTeXFangSong .font-fangsong | .仿宋
黑體 cwTeXHei .font-hei | .黑體
楷體 cwTeXKai .font-kai | .楷體
明體 cwTeXMing .font-ming | .明體
圓體 cwTeXYen .font-yen | .圓體

檔案及安裝

aLib 使用 normalize.css - 由 Nicolas Gallagher 與 Jonathan Neal 維護。 Normalize.css 使不同瀏覽器在編譯 HTML 文件時,所有基本標籤,都能呈現相同效果。

檔案清單如下,安裝時,請將字型檔資料夾 fonts 與 CSS 檔案,放置在同階層資料夾中


normalize.css
aLib.basic.css
aLib.style.css
aLib.grid.css
aLib.css
customer.css
fonts\idautoationhc39m_free-wefbont.svg
fonts\idautoationhc39m_free-wefbont.ttf
fonts\idautoationhc39m_free-wefbont.otf
fonts\idautoationhc39m_free-wefbont.eot
fonts\idautoationhc39m_free-wefbont.woff

上述檔案清單中,customer.css 是預設好供使用者自行修改的樣式表檔案,內容包括字型設定,MediaQuery 區間等。

使用方法

完整使用 aLib.css


<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="{path}/aLib.css">
	<link rel="stylesheet" href="{path}/customer.css">
</head>

僅使用 aLib 樣式(不使用網格系統)


<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="{path}/aLib.basic.css">
	<link rel="stylesheet" href="{path}/aLib.style.css">
	<link rel="stylesheet" href="{path}/customer.css">
</head>

字型

aLib 字型使用設定順序如下,如果要修改,在自己的CSS中,以同樣語法覆蓋即可。


*{
  font-family:Lucida Sans Unicode,Trebuchet MS,Verdana,Arial,黑體,宋體,微軟正黑體,新細明體,cwTeXHei;
}

部份字型在您的畫面上,無法正常顯示,這是正常情況

Lucida Sans Unicode ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
Trebuchet MS ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
Verdana ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
Arial ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
黑體 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
宋體 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
微軟正黑體 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
新細明體 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看
Google 黑體 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 寫兩個字看看

MediaQuery

MediaQuery是針對不同尺寸顯示裝置,可以各別設定樣式,例如,在大多數行動裝置中瀏覽本頁,右側的功能表是隱藏的

aLib 對版面寬度的區分點為:568px、768px、992px,共四個區間,分別代表:

< 568px 手機直式 iPhone6, SONY Xperia, S4, Note II 等
568px ~ 768px 手機橫式、平板直式 Nexus
768px ~ 992px 平板橫式、iPad 直式 iPad, iPad Mini
> 992px 桌上型顯示器 iPad 橫

以下設定,均包含在空白 CSS 檔案 customer.css 中


@media screen and (min-width:993px){
	/*手機直式*/
}
@media screen and (max-width:992px) and (min-width:769px){
	/*手機橫式、平板直式*/
}
@media screen and (max-width:768px) and (min-width:569px){
	/*平板橫式*/
}
@media screen and (max-width:568px){
	/*桌上型顯示器*/
}

BoxModel

aLib 對所有元件 BoxModel 的設定,一律加上 box-sizing:border-box;

瀏覽器對於區塊大小的認定,原則上是:指定的寬度及高度,是不包含留白(padding)、邊界(margin)以及外框(border)

例如下列設定:


#alib-list{
	width:480px;
	height:240px;
	padding:12px;
	margin:20px 36px;
	border:#00F 6px solid;
}

區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式區塊模式

上圖,黃底文字部份的尺寸是寬 480px 高 240px,也就是初始設定的大小,但是要加上留白上右下左各 12px,再加上藍色框線四周各 6px,所以實際上區塊的尺寸,就變成寬 516px (480+12+12+6+6),高 276px (240+12+12+6+6)。也就是紅框代表的部份

這種計算和編排方式,大多數情況沒有太大問題,但對於需要指定元件寬度滿版(width:100%)時,如果再加上留白,往往就超出畫面範圍,例如:


上例,沒有留白的文字欄位,可以完整滿版顯示在畫面中,不過少了留白,稍嫌擁擠,美觀度比第二列的欄位要略遜;但,第二列欄位卻因為寬度加上留白,早己超出版面,而最右側被截掉

因此,aLib 全部採用包含留白及邊框的計算區塊或元件尺寸的模式,例如:

本文件語法

凡本文件中,以點開頭,如 .cssName 代表這是一個樣式名稱。

某些樣式,可以使用多個樣式名稱,都有相同效果,則文件中,在樣式名稱中間加上直線區分,例如:.blue | .藍 這代表兩者皆可以使用

一段藍色文字
一段藍色文字

一段藍色文字
一段藍色文字

標題 H1~H6

2.25rem
正常文字

H1 標題 (.h1 | .H1)

1.875rem
正常文字

H2 標題 (.h2 | .H2)

1.5rem
正常文字

H3 標題 (.h3 | .H3)

1.125rem
正常文字

H4 標題 (.h4 | .H4)

0.875rem
正常文字
H5 標題 (.h5 | .H5)
0.75rem
正常文字
H6 標題 (.h6 | .H6)

註解區塊 Blockquote

The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
使用 .no-border 取消外框
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
使用 .orange | .橘 左框改為橘色
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
使用 .blue | .藍 左框改為藍色
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
使用 .brown | .棕 左框改為棕色
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
使用 .red | .紅 左框改為紅色
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:
搭配 .border-* 使用
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

:

影像 Images

依父層寬度自動填滿
.img-responsive
文繞圖,圖在左
.img-float-left
文繞圖,圖在右
.img-float-right

The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

...
...

清單 Lists

list-style:disc
.list-disc
list-style:square
.list-square
list-style:circle
.list-circle
list-style:none
.list-none
  • list
  • list
  • list

  • list
  • list
  • list
  • list
  • list
  • list

  • list
  • list
  • list
  • list
  • list
  • list

  • list
  • list
  • list
  • list
  • list
  • list

  • list
  • list
  • list

網格系統 Grid

aLib 的網格系統 Grid,或說版面分配系統,有三種方式:
class="gridN"
N 由 1 到 24(差距 1),會依顯示裝置大小不同,自動調整,使成為自適應 (Rresponse Web Design) 版型。
class="grid-N-M"
由 2 到 12(差距 1),N 由 1 到 M-1,代表分割版面成為 N/M
class="gird-P"
P 由 10 到 90(差距 10),代表分割版面成為 P%

  class="gridN" class="grid-N-M" class="grid-P"
display block
float left
width 依顯示裝置寬度不同自動調整,見下方詳細說明 N/M P%

兩種方式,請使用 class="row" 作為上層樣式。

兩者的差別在於:使用 class="gridN" 會根據顯示裝置寬度自動調整佔版面寬度比例,也就是符合自適應設計;而 class="grid-N-M" 或 class="grid-P" 則是無論顯示裝置寬度,依實際寬度計算。

class="gridN" | class="網格N"

使用 gridN 網格系統,大多數情況只要考慮 > 992px 這種版面安排即可,aLib 在不同尺寸裝置中,僅可能為設計人員安排合適版面。詳情如下:

< 568px < 768px < 992px 992px - 1200px > 992px
格數 6 8 12 18 24
字幅數量 35.5em 48em 62em 18 62em+
寬度
grid1
16.67%
grid2
25.00%
grid3
33.33%
grid4
50.00%
grid5
75.00%
grid6 ~ 24
100.0%
grid1
12.50%
grid2
16.67%
grid3
20.00%
grid4
25.00%
grid5,6
33.33%
grid7,8
50.00%
grid9 ~ 24
100.0%
grid1
5.555%
grid2
8.333%
grid3
12.50%
grid4
16.67%
grid5
20.00%
grid6
25.00%
grid8
33.33%
grid12
50.00%
grid18 ~ 24
100.0%
grid1,2
10.00%
grid3
20.00%
grid4
25.00%
grid5,6
33.33%
grid7,8,9
50.00%
grid10,11
60.00%
grid12,13
75.00%
grid14,15
80.00%
grid16,17
85.00%
grid18 ~ 24
100.0%
100% x N/24
offset X X X N/24 N/24
裝置 手機直 手機橫/平板直 平板橫 N/24 筆記型/桌上型

網格使用範例 > 992px

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
4
4
4
4
4
4
6
6
6
6
8
8
8
12
12

網格使用範例 > 768px

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
4
4
4
4
4
4
6
6
6
6
8
8
8
12
12

網格使用範例 > 568px

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

1
1
1
1
1
1
1
1
2
2
2
2
2
2
3
3
3
3
3
4
4
4
4
6
6
6
8
8
>=12

網格使用範例 < 568px

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

1
1
1
1
1
1
2
2
2
2
3
3
3
4
4
>=6

這種方式,讓設計簡單化,大多數狀況,不需要針對版面安排,進行不同裝置寬度設定。

巢狀範例

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

grid8
grid6
grid6
grid6
grid6

grid8
grid6
grid6
grid6
grid6

使用 class="grid" 補滿剩餘寬度

以下顯示範例,為確保不同顯示裝置寬度能顯示相同網格數,特別繪製,不適用一般設定情況。真實網格系統在不同寬度上呈現效果,請檢視 Grid.html

grid8
grid
grid6
grid
grid4
grid

grid8
grid
grid6
grid
grid4
grid

class="grid-N-M" | class="網格-M分之N"

使用 .grid-N-M 將版面分割成指定 N/M,其中 M 的值由 2 開始到 12,N 則由 1 至 M-1

grid-1-2
grid-1-2
grid-1-3
grid-2-3
grid-1-4
grid-3-4
grid-1-5
grid-4-5
grid-1-6
grid-5-6
grid-1-7
grid-6-7
grid-1-8
grid-7-8
grid-1-9
grid-8-9
grid-1-10
grid-9-10
grid-1-11
grid-10-11
grid-1-12
grid-11-12

grid-1-2
grid-1-2
grid-1-3
grid-2-3
grid-1-4
grid-3-4
grid-1-5
grid-4-5
grid-1-6
grid-5-6
grid-1-7
grid-6-7
grid-1-8
grid-7-8
grid-1-9
grid-1-10
grid-1-10
grid-9-10
grid-1-11
grid-10-11
grid-1-12
grid-11-12
1/3
1/4

1/3
1/4
M=2 .grid-1-2 ,
M=3 .grid-1-3 , .grid-2-3
M=4 .grid-1-4 , .grid-2-4 , .grid-3-4
M=5 .grid-1-5 , .grid-2-5 , .grid-3-5 , .grid-4-5
M=6 .grid-1-6 , .grid-2-6 , .grid-3-6 , .grid-4-6 , .grid-5-6
M=7 .grid-1-7 , .grid-2-7 , .grid-3-7 , .grid-4-7 , .grid-5-7 , grid-6-7
M=8 .grid-1-8 , .grid-2-8 , .grid-3-8 , .grid-4-8 , .grid-5-8 , grid-6-8 , .grid-7-8
M=9 .grid-1-9 , .grid-2-9 , .grid-3-9 , .grid-4-9 , .grid-5-9 , grid-6-9 , .grid-7-9 , .grid-8-9
M=10.grid-1-10, .grid-2-10, .grid-3-10, .grid-4-10, .grid-5-10, grid-6-10, .grid-7-10, .grid-8-10, .grid-9-10
M=11.grid-1-11, .grid-2-11, .grid-3-11, .grid-4-11, .grid-5-11, grid-6-11, .grid-7-11, .grid-8-11, .grid-9-11, .grid-10-11
M=12.grid-1-12, .grid-2-12, .grid-3-12, .grid-4-12, .grid-5-12, grid-6-12, .grid-7-12, .grid-8-12, .grid-9-12, .grid-10-12, .grid-11-12

class="grid-P" | class="網格-P"

使用 .grid-P 將版面分割成指定 P%,其中 M 的值由 10 開始到 90,共計九種

.grid-10
.grid-90 | .網格-90
.grid-20 | .網格-20
.grid-80 | .網格-80
.grid-30 | .網格-30
.grid-70 | .網格-70
.grid-40 | .網格-40
.grid-60 | .網格-60
.grid-50 | .網格-50 | .grid-half | .網格-半
.grid-50 | .網格-50 | .grid-half | .網格-半

.grid-10
.grid-90 | .網格-90
.grid-20 | .網格-20
.grid-80 | .網格-80
.grid-30 | .網格-30
.grid-70 | .網格-70
.grid-40 | .網格-40
.grid-60 | .網格-60
.grid-50 | .網格-50 | .grid-half | .網格-半
.grid-50 | .網格-50 | .grid-half | .網格-半

網格邊界 Grid Offset

邊界系統:使用 .offsetN | .邊界N 使元件依父層寬度百分比設定邊界。N 的範圍 1 到 24

網格邊界只有在顯示寬度大於 992px 時,才依下列原則設定邊界,其他顯示寬度尺寸一律為 0 。與網格系統 gridN 搭配時,網格與邊界同時佔用父層寬度,直到總和超出 24 後自動換行。每一組 class="row" N 的總和都重新計算

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
.grid3 .offset1
 
.grid3 .offset1
 
.grid3 .offset1
 
.grid3 .offset1
 
.grid3 .offset1
 
.grid3 .offset1
 
.grid4 .offset3
 
.grid4 .offset4
 
.grid4 .offset5
 
.grid4 .offset6
 
.grid4 .offset7
 
.grid4 .offset8
 
 
.grid4 .offset9
 
 
.grid4 .offset10
 
 
.grid4 .offset11
 
 
.grid4 .offset12

.grid4 .offset1
:
.grid4 .offset1
.grid4 .offset3
.grid4 .offset4
.grid4 .offset5
.grid4 .offset6
.grid4 .offset7
.grid4 .offset8
.grid4 .offset9
.grid4 .offset10
.grid4 .offset11
.grid4 .offset12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.grid22 .offset1
.grid8
.grid8
.grid8

寬度 Width

4rem
 
.width-xs | .極窄
6rem
 
.width-small | .width-s | .width-S | .窄
9rem
 
.width-medium | .width-m | .width-M | .適中寬
13rem
 
.width-large | .width-l | .width-L | .寬
100%
.width-full | .width-max | .滿版

class="widthN" | class="寬N"

widthN 或 寬N 只適用在 display 屬性為 block 或 inline-block 這種以區塊型式顯示的元件,N 由 1 到 24,無論顯示裝置寬度,都分成 24 份

.widthN 適用於區塊、表單文字欄位、文字區塊等

.width1 | .寬1
.width2 | .寬2
.width3 | .寬3
.width4 | .寬4
.width5 | .寬5
.width6 | .寬6
.width7 | .寬7
.width8 | .寬8
.width9 | .寬9
.width10 | .寬10
.width11 | .寬11
.width12 | .寬12
.width13 | .寬13
.width14 | .寬14
.width15 | .寬15
.width16 | .寬16
.width17 | .寬17
.width18 | .寬18
.width19 | .寬19
.width20 | .寬20
.width21 | .寬21
.width22 | .寬22
.width23 | .寬23
.width24 | .寬24

class="width-N-M" | class="寬-M分之N"

使用 .width-N-M 將元件寬度指定為畫面寬度的 N/M,其中 M 的值由 2 開始到 12

width-N-M 只負責指定元件寬度,可以應用在 display 屬性值為 inline-block 或 block

.width-1-2 | .寬-二分之一 | .寬-2分之1
.width-1-3 | .寬-三分之一 | .寬-3分之1
.width-1-4 | .寬-四分之一 | .寬-4分之1
.width-1-5 | .寬-五分之一 | .寬-5分之1
.width-1-6 | .寬-六分之一 | .寬-6分之1
.width-1-7 | .寬-七分之一 | .寬-7分之1
.width-1-8 | .寬-八分之一 | .寬-8分之1
.width-1-9 | .寬-九分之一 | .寬-9分之1
.width-1-10 | .寬-十分之一 | .寬-10分之1
.width-1-11 | .寬-十一分之一 | .寬-11分之1
.width-1-12 | .寬-十二分之一 | .寬-12分之1

class="width-P" | class="寬-P"

使用 .width-P 將元件寬度指定為畫面寬度的 P%,其中 M 的值由 10 開始到 90,共計九種

width-P 只負責指定元件寬度,可以應用在 display 屬性值為 inline-block 或 block

.width-10
.width-20 | .寬-20
.width-30 | .寬-30
.width-40 | .寬-40
.width-50 | .寬-50 | .width-half | .寬-半
.width-60 | .寬-60
.width-70 | .寬-70
.width-80 | .寬-80
.width-90 | .寬-90

高度 Height

class="height-#em" | class="高-#em"

使用 .height-#em 將區塊高度設定為指定列數,# 由 1 到 24。列的高度是根樣式字元大小,也就是以 rem 為單位。

height-1em | 高-1行
height-16em | 高-16行
height-2em | 高-2行
height-15em | 高-15行
height-3em | 高-3行
height-14em | 高-14行
height-4em | 高-4行
height-13em | 高-13行
height-5em | 高-5行
height-12em | 高-12行
height-6em | 高-6行
height-11em | 高-11行
height-7em | 高-7行
height-10em | 高-10行
height-8em | 高-8行
height-9em | 高-9行
height-17em | 高-17行
height-18em | 高-18行
height-19em | 高-19行
height-20em | 高-20行
height-21em | 高-21行
height-22em | 高-22行
height-23em | 高-23行
height-24em | 高-24行

多欄 Multi-Column

多欄系統:使用 col-N 設定多欄排版,其中 N 由 2 至 6。

中文使用 "N欄" 其中 N 可用值 二,三,四,五,六

The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice.
The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice.

位置 Position

position:fixed;
.fixed
position:relative;
.relative
position:absolute;
.absolute
position:static;
.static
position:absolute;top:0;
.top0
position:absolute;right:0;
.right0
position:absolute;bottom:0;
.bottom0
position:absolute;left:0;
.left0
放到主畫面之外
.out-of-screen

呈現模式 Display

display:inline-block;
.inline-block | .inline-box | .行內區塊
display:block;
.block | .box | .區塊
display:none
.hidden | [hidden] | .hide | [hide] | .隱藏 | [隱藏]
display:inherit;
.show | [show] | .顯示 | [顯示]
display:visible;
.visible | [visible] | .可見 | [可見]
display:invisible;
.invisible | [invisible] | .不可見 | [不可見]

<div hide></div> <div hidden></div> <div 隱藏></div>
<div show></div> <div 顯示></div>
<div visible></div> <div 可見></div>
<div invisible></div> <div 不可見></div>

浮動 Float

float:left;
.float-left
float:right;
.float-right
float:none;
.no-float | .float-none

對齊 Alignment

區塊居中: 區塊居中,僅在區塊顯示屬性為 absolute 以及寬度小於 100% 時才有效果

 

 

其他區塊對齊方式: 僅在區塊顯示屬性為 absolute 以及寬度小於 100% 時才有效果
1
2
3
4
5
6
7
8
9

1
2
3
4
4
5
6
6
7
8
9
文字靠左

文字居中

文字靠右

齊頭尾:The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

不換行:The quick brown fox jumps over the lazy dog is an English-language pangram—a phrase that contains all of the letters of the alphabet. It is commonly used for touch-typing practice. It is also used to test typewriters and computer keyboards, show fonts, and other applications involving all of the letters in the English alphabet. Owing to its brevity and coherence, it has become widely known.

齊頂

垂直居中

齊底

邊界 Margin

邊界有兩種類別,名稱為 .margin-? 代表四個邊的邊界相同;另一稱名稱為 .margin-?-* 代表上下的邊界是由問號代表的值,左右邊界是星號代表的值。

margin:0
.no-margin | .無邊界
margin:0.45rem
.margin-small | .margin-s | .margin-S | .小邊界
margin:0.75rem
.margin-medium | .margin-m | .margin-M | .中邊界
margin:1.2rem
.margin-large | .margin-l | .margin-L | .大邊界
margin:2.5rem
.margin-xl | .margin-XL | .超大邊界
margin:0 0.45rem
.margin-0-s
margin:0 0.75rem
.margin-0-m
margin:0 1.2rem
.margin-0-l
margin:0 2.5rem
.margin-0-xl
margin:0.45rem 0.75rem
.margin-s-m
margin:0.45rem 1.2rem
.margin-s-l
margin:0.45rem 2.5rem
.margin-s-xl
margin:0.75rem 1.2rem
.margin-m-l
margin:0.75rem 2.5rem
.margin-m-xl
margin:1.2rem 2.5rem
.margin-l-xl
margin:0.45rem 0
.margin-s-0
margin:0.75rem 0
.margin-m-0
margin:1.2rem 0
.margin-l-0
margin:2.5rem 0
.margin-xl-0
margin:0.75rem 0.45rem
.margin-m-s
margin:1.2rem 0.45rem
.margin-l-s
margin:2.5rem 0.45rem
.margin-xl-s
margin:1.2rem 0.75rem
.margin-l-m
margin:2.5rem 0.75rem
.margin-xl-m
margin:2.5rem 1.2rem
.margin-xl-l
margin-top:1em
.margin-top-1
margin-top:2em
.margin-top-2
margin-top:3em
.margin-top-3
margin-top:4em
.margin-top-4
margin-top:5em
.margin-top-5
margin-right:1em
.margin-right-1
margin-right:2em
.margin-right-2
margin-right:3em
.margin-right-3
margin-right:4em
.margin-right-4
margin-right:5em
.margin-right-5
margin-bottom:1em
.margin-bottom-1
margin-bottom:2em
.margin-bottom-2
margin-bottom:3em
.margin-bottom-3
margin-bottom:4em
.margin-bottom-4
margin-bottom:5em
.margin-bottom-5
margin-left:1em
.margin-left-1
margin-left:2em
.margin-left-2
margin-left:3em
.margin-left-3
margin-left:4em
.margin-left-4
margin-left:5em
.margin-left-5

留白 Padding

留白有兩種類別,名稱為 .padding-? 代表四個邊的留白相同;另一稱名稱為 .padding-?-* 代表上下的留白是由問號代表的值,左右留白是星號代表的值。

padding:0
.no-padding | .無留白
padding:0.45rem
.padding-small | .padding-s | .padding-S | .小留白
padding:0.75rem
.padding-medium | .padding-m | .padding-M | .中留白
padding:1.2rem
.padding-large | .padding-l | .padding-L | .大留白
padding:2.5rem
.padding-xl | .padding-XL | .超大留白
padding:0 0.45rem
.padding-0-s
padding:0 0.75rem
.padding-0-m
padding:0 1.2rem
.padding-0-l
padding:0 2.5rem
.padding-0-xl
padding:0.45rem 0.75rem
.padding-s-m
padding:0.45rem 1.2rem
.padding-s-l
padding:0.45rem 2.5rem
.padding-s-xl
padding:0.75rem 1.2rem
.padding-m-l
padding:0.75rem 2.5rem
.padding-m-xl
padding:1.2rem 2.5rem
.padding-m-xl
padding:0.45rem 0
.padding-s-0
padding:0.75rem 0
.padding-m-0
padding:1.2rem 0
.padding-l-0
padding:2.5rem 0
.padding-xl-0
padding:0.75rem 0.45rem
.padding-m-s
padding:1.2rem 0.45rem
.padding-l-s
padding:2.5rem 0.45rem
.padding-xl-s
padding:1.2rem 0.75rem
.padding-l-m
padding:2.5rem 0.75rem
.padding-xl-m
padding:2.5rem 1.2rem
.padding-xl-l
padding-top:1em
.padding-top-1
padding-top:2em
.padding-top-2
padding-top:3em
.padding-top-3
padding-top:4em
.padding-top-4
padding-top:5em
.padding-top-5
padding-right:1em
.padding-right-1
padding-right:2em
.padding-right-2
padding-right:3em
.padding-right-3
padding-right:4em
.padding-right-4
padding-right:5em
.padding-right-5
padding-bottom:1em
.padding-bottom-1
padding-bottom:2em
.padding-bottom-2
padding-bottom:3em
.padding-bottom-3
padding-bottom:4em
.padding-bottom-4
padding-bottom:5em
.padding-bottom-5
padding-left:1em
.padding-left-1
padding-left:2em
.padding-left-2
padding-left:3em
.padding-left-3
padding-left:4em
.padding-left-4
padding-left:5em
.padding-left-5

文字 Fonts

0.75rem
正常文字
.font-xs | .font-XS | .極小字
0.875rem
正常文字
.font-s | .font-S | .小字
1.5rem
正常文字
.font-m | .font-M | .適中字
2rem
正常文字
.font-l | .font-L | .大字
3rem
正常文字
.font-xl | .font-XL | .極大字
.font-fangsong | .仿宋
.font-hei | .黑體
.font-kai | .楷體
.font-ming | .明體
.font-yen | .圓體
.bold | .粗體
.italic | .斜體
del | .del | .strike | .delete | .刪除
.underline | .底線
.blur | .模糊
.blur | .模糊
mark | .mark

透明度 Opacity

.opacity9

.opacity8

.opacity7

.opacity6

.opacity5

.opacity4

.opacity3

.opacity2

.opacity1

旋轉 Rotate

.rotate45

.rotate90

.rotate135

.rotate180

.rotate225

.rotate270

.rotate315

外框 Border / Colored Border

.border-red
.紅框
.border-green
.綠框
.border-blue
.藍框
.border-black | .border-default
.黑框
.border | .框
.border-top | .上框
.border-right | .右框
.border-bottom | .下框
.border-left | .左框

border-radius:5px
.border-round5 | .圓角5 | .圓角-5
border-radius:5px 5px 0 0
.border-round-5500
border-radius:0 0 5px 5px
.border-round-0055
border-radius:5px 0 0 5px
.border-round-5005
border-radius:0 5px 5px 0
.border-round-0550
border-radius:10px
.border-round10 | .圓角10 | .圓角-10
border-radius:10px 10px 0 0
.border-round-101000
border-radius:0 0 10px 10px
.border-round-001010
border-radius:10px 0 0 10px
.border-round-100010
border-radius:0 10px 10px 0
.border-round-010100

文字框 Text Border

.text-border-black .黑框字
.text-border-white .白框字
.text-shadow .文字陰影
.text-border-black-shadow .黑框字陰影
.text-border-white-shadow .白框字陰影

漸層背景 Gradient Background Color

.primary
.主色
.secondary
.info | .次色
.success
.成功
.warning
.警告
.danger
.危險
.inverse
.相反

色彩 Color System

商業色、粉色系底色

.bg-facebook
.臉書底
.bg-twitter
.推特底
.bg-light-orange
.粉橘
.bg-light-white
.粉白
.bg-light-red
.粉紅
.bg-light-purple
.粉紫
.bg-light-green
.粉綠
.bg-light-blue
.粉藍
.bg-light-yellow
.粉黃

其他顏色/底色

.bg-aliceblue
 
#F0F8FF
.bg-antiquewhite
 
#FAEBD7
.bg-aquamarine
 
#7FFFD4
.bg-azure
 
#F0FFFF
.bg-beige
 
#F5F5DC
.bg-bisque
 
#FFE4C4
.黑底
 
#000000
.bg-black
 
#000000
.bg-blanchedalmond
 
#FFEBCD
.藍底
 
#0000FF
.bg-blue
 
#0000FF
.棕底
 
#D2691E
.bg-brown
 
#D2691E
.bg-burlywood
 
#DEB887
.bg-cadetblue
 
#5F9EA0
.bg-chartreuse
 
#7FFF00
.bg-coral
 
#FF7F50
.bg-cornflowerblue
 
#6495ED
.bg-cornsilk
 
#FFF8DC
.bg-crimson
 
#DC143C
.青底
 
#00FFFF
.bg-cyan
 
#00FFFF
.深藍底
 
#00008B
.bg-darkblue
 
#00008B
.bg-darkcyan
 
#008B8B
.bg-darkgoldenrod
 
#B8860B
.深灰底
 
#444444
.bg-darkgray
 
#444444
.bg-darkgrey
 
#151515
.bg-darkgreen
 
#006400
.bg-darkkhaki
 
#BDB76B
.bg-darkmagenta
 
#8B008B
.bg-darkolivegreen
 
#556B2F
.bg-darkorange
 
#FF8C00
.bg-darkorchid
 
#9932CC
.暗紅底
 
#8B0000
.bg-darkred
 
#8B0000
.bg-darksalmon
 
#E9967A
.bg-darkseagreen
 
#8FBC8F
.bg-darkslateblue
 
#483D8B
.bg-darkslategray
 
#2F4F4F
.bg-darkslategrey
 
#2F4F4F
.bg-darkturquoise
 
#00CED1
.bg-darkviolet
 
#9400D3
.bg-deeppink
 
#FF1493
.bg-deepskyblue
 
#00BFFF
.bg-dodgerblue
 
#1E90FF
.bg-firebrick
 
#B22222
.bg-floralwhite
 
#FFFAF0
.bg-forestgreen
 
#228B22
.bg-fuchsia
 
#FF00FF
.bg-gainsboro
 
#DCDCDC
.bg-ghostwhite
 
#F8F8F8
.金黃底
 
#FFD700
.bg-gold
 
#FFD700
.bg-goldenrod
 
#DAA520
.灰底
 
#808080
.bg-gray
 
#808080
.綠底
 
#008000
.bg-green
 
#008000
.黃綠底
 
#ADFF2F
.bg-greenyellow
 
#ADFF2F
.bg-honeydew
 
#F0FFF0
.bg-hotpink
 
#FF69B4
.bg-indianred
 
#CD5C5C
.bg-indigo
 
#4B0082
.象牙白底
 
#FFFFF0
.bg-ivory
 
#FFFFF0
.bg-khaki
 
#F0E68C
.bg-lavenderblush
 
#FFF0F5
.bg-lawngreen
 
#7CFC00
.bg-lemonchiffon
 
#FFFACD
.bg-lightblue
 
#ADD8E6
.bg-lightcoral
 
#F08080
.bg-lightcyan
 
#E0FFFF
.bg-lightgoldenrodyellow
 
#FAFAD2
.淺灰底
#EEEEEE
.bg-lightgray
#EEEEEE
.淺綠底
 
#90EE90
.bg-lightgreen
 
#90EE90
.淺紫底
 
#E6E6FA
.bg-lightpurple
 
#E6E6FA
.bg-lightsalmon
 
#FFA07A
.bg-lightseagreen
 
#20B2AA
.bg-lightskyblue
 
#87CEFA
.淺鐵灰底
 
#B0C4DE
.bg-lightslategray
 
#B0C4DE
.淺黃底
 
#FFFFE0
.bg-lightyellow
 
#FFFFE0
.bg-lime
 
#00FF00
.bg-limegreen
 
#32CD32
.bg-linen
 
#FAF0E6
.洋紅底
 
#FF00FF
.bg-magenta
 
#FF00FF
.bg-maroon
 
#800000
.bg-mediumaquamarine
 
#66CDAA
.bg-mediumblue
 
#0000CD
.bg-mediumorchid
 
#BA55D3
.bg-mediumpurple
 
#9370D8
.bg-mediumseagreen
 
#3CB371
.bg-mediumslateblue
 
#7B68EE
.bg-mediumspringgreen
 
#00FA9A
.bg-mediumturquoise
 
#48D1CC
.bg-mediumvioletred
 
#C71585
.bg-midnightblue
 
#191970
.bg-mintcream
 
#F5FFFA
.淺粉紅底
 
#FFE4E1
.bg-lightpink
 
#FFE4E1
.bg-moccasin
 
#FFE4B5
.bg-navajowhite
 
#FFDEAD
.海軍藍底
 
#000080
.bg-navy
 
#000080
.bg-oldlace
 
#FDF5E6
.bg-olive
 
#808000
.bg-olivedrab
 
#6B8E23
.橘底
 
#FFA500
.bg-orange
 
#FFA500
.bg-orangered
 
#FFA500
.bg-orchid
 
#DA70D6
.bg-palegoldenrod
 
#EEE8AA
.bg-palegreen
 
#98FB98
.bg-paleturquoise
 
#AFEEEE
.bg-palevioletred
 
#D87093
.bg-papayawhip
 
#FFEFD5
.bg-peachpuff
 
#FFDAB9
.bg-peru
 
#CD853F
.粉紅底
 
#FFC0CB
.bg-pink
 
#FFC0CB
.bg-plum
 
#DDA0DD
.bg-powderblue
 
#B0E0E6
.紫底
 
#800080
.bg-purple
 
#800080
.紅底
 
#FF0000
.bg-red
 
#FF0000
.bg-rosybrown
 
#BC8F8F
.bg-royalblue
 
#4169E1
.bg-saddlebrown
 
#8B4513
.bg-salmon
 
#FA8072
.bg-sandybrown
 
#F4A460
.bg-seagreen
 
#2E8B57
.bg-seashell
 
#FFF5EE
.bg-sienna
 
#A0522D
.銀底
 
#C0C0C0
.bg-silver
 
#C0C0C0
.bg-skyblue
 
#87CEEB
.bg-slateblue
 
#6A5ACD
.鐵灰底
 
#708090
.bg-slategray
 
#708090
.雪白底
 
#FFFAFA
.bg-snow
 
#FFFAFA
.bg-springgreen
 
#00FF7F
.bg-steelblue
 
#4682B4
.bg-tan
 
#D2B48C
.bg-teal
 
#008080
.bg-thistle
 
#D8BFD8
.bg-tomato
 
#FF6347
.bg-turquoise
 
#40E0D0
.bg-violet
 
#EE82EE
.bg-wheat
 
#F5DEB3
.白底
 
#FFFFFF
.bg-white
 
#FFFFFF
.bg-whitesmoke
 
#F5F5F5
.黃底
 
#FFFF00
.bg-yellow
 
#FFFF00

按鈕 Button






































表單

單選及多選 Radio & Checkbox

單選 Radio



多選 Checkbox



表單分組 Fieldset

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

Legend The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

表格

表格撰寫,建議格式如下:

... ...
... ...

表格資料,在尺寸寬度較小的裝置上,很容易超出畫面寬度,所以,為避免這個情況,建議在表格父層加上 .row-table 樣式,以使當表格超出可見範圍時,可以水平捲動

基本表格 Basic Table Style

< 568px < 768px < 992px > 992px
格數 6 8 12 18 24
offset X X X N/24 N/24
裝置 手機直 手機橫/平板直 平板橫 N/24 筆記型/桌上型

<table class="table">
	~略~
</table>

加入 .compact 使儲存格留白縮小
< 568px < 768px < 992px > 992px
格數 6 8 12 18 24
offset X X X N/24 N/24
裝置 手機直 手機橫/平板直 平板橫 N/24 筆記型/桌上型

<table class="table compact">
	~略~
</table>

表格樣式分為三個部份,自由組合,第一部份以 body- 為前綴,代表整個表格主要內容外觀;第二部份以 head- 為前綴,代表表格最上方標題列樣式;第三部份以 hover- 為前綴,代表高亮度列的呈現方式

表格主體

加入 .body-cross 使單數列及雙數列有不同底色表現
標題標題標題標題標題
 
 
 
 
 

<table class="table body-cross">
	~略~
</table>

表格標題

加入 .head-light 使標題列有淺底色
標題標題標題標題標題
 
 
 
 
 

<table class="table head-light">
	~略~
</table>

加入 .head-dark 使標題列有深底色
標題標題標題標題標題
 
 
 
 
 

<table class="table head-dark">
	~略~
</table>

列高亮度

加入 .hover-blur 鼠標移到指定列時,其他資料模糊
標題標題標題標題標題
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi

<table class="table hover-blur">
	~略~
</table>

加入 .hover-highlight 鼠標移到指定列時,指定列反白
標題標題標題標題標題
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi

<table class="table hover-highlight">
	~略~
</table>

加入 .hover-highlight-cross 鼠標移到指定列時,指定列及欄都反白
標題標題標題標題標題
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi
 rossichecahyattaudi

<table class="table hover-highlight">
	~略~
</table>

條碼 Barcode

條碼文字大小固定 17px
0123456789

0123456789
0123456789

對齊冒號 Align to Colon

Title Long
content
Title
content

Title Long
content
Title
content
標題
說明
標題
說明

標題
說明
標題
說明

陰影分隔線 Shadow Separator





開關 Switch



陰影 Shadow

.shadow-N 本身包含淺黑色邊框

.shadow-N 不可與 .border-* 同時使用

class="shadow-1"
class="陰影-1"
class="shadow-2"
class="陰影-2"
class="shadow-3"
class="陰影-3"
class="shadow-4"
class="陰影-4"

頁面陰影 Page Curl Shadow

class="page-curl-shadow-left"
class="page-curl-shadow-both"
class="page-curl-shadow-right"


class="陰影左下"
class="陰影左右"
class="陰影右下"

加框數字 Digit With Outline

使用 data-digit 自定屬性指定數字,建議使用在數字 0-9

























水平捲動 Horizental Scroll


.......
加入 .no-arrow 取消左右捲動箭頭

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content

DIV content


.......
.......
.......
.......
.......
.......
: :

分頁 Tab

  • 
    
    • Tab2 Content
    • Tab3 Content
  • Tab2 Content
  • Tab3 Content

步驟 Steps

使用 Steps 語法,參考下列範例。但必需要注意的事項如下:




底色


    :

    :

    :

    :

    :

    :

提示 Hint

提示文字框的箭頭有四個方向,分別是 left,leftup,right,rightup 分別是:

提示文字框的底色和文字顏色,在使用時自行指定,無預設值

class="Hint right"

:
class="Hint left"

:
class="Hint rightup"

:
class="Hint leftup"

: