內容簡介
這個外掛提供了一個 [columns] 短代碼,使用 css3 的列屬性,讓文章內容的一部份擁有多欄。
[columns] 短代碼需要一個結尾的 [/columns] 短代碼,並且接受 count=”#” 參數,用於指定欄數;gap=”1em” 參數,用於指定欄之間的間隔大小。
以下是一些範例:
一個簡單的2欄區塊。
[columns count=”2″]…[/columns]
一個有 3 欄的區塊,欄之間有2em的間隔。
[columns count=”3″ gap=”2em”]…[/columns]
外掛標籤
開發者團隊
原文外掛簡介
This plugin provides a [columns] shortcode that gives a section of post content multiple columns using css3’s column properties.
The [columns] shortcode requires a closing [/columns] shortcode and accepts the arguments count=”#” to specify the number of columns and gap=”1em” to specify the gap size between columns.
Some examples:
A simple 2 column block of columns.
[columns count=”2″]…[/columns]
A 3 column block of columns with a 2em gap in between columns.
[columns count=”3″ gap=”2em”]…[/columns]
