コンテンツにスキップ

Divider

区切り線を描画するコンポーネントです。--bdcvar(--c--line)に初期セットされます。

div.a--divider
プロパティ説明
bdw,bds,bdc区切り線のボーダープロパティ
import { Divider } from 'lism-css/react';
…Contents…
…Contents…
リサイズ可能
<Box bgc='base-2' py='50' ta='center'>...Contents...</Box>
<Divider />
<Box bgc='base-2' py='50' ta='center'>...Contents...</Box>
スタイルの変更例
…Contents…
…Contents…
リサイズ可能
<Box bgc='base-2' py='50' ta='center'>...Contents...</Box>
<Divider bds='dotted' bdw='4px' bdc='blue'/>
<Box bgc='base-2' py='50' ta='center'>...Contents...</Box>
縦方向の区切り線
…Contents…
…Contents…
リサイズ可能
<Flex ai='center' g='30'>
<Box fx='1' bgc='base-2' py='50' ta='center'>...Contents...</Box>
<Divider writing='vertical' bds='dashed' bdw='2px' aslf='stretch' />
<Box fx='1' bgc='base-2' py='50' ta='center'>...Contents...</Box>
</Flex>