@watheia/micro.base-ui.layout.page-frame
v1.0.2
Published
CSS components for readable columns.
Downloads
2
Maintainers
Readme
Page frame
CSS components for readable columns.
centerColumn
- main display width for most content, including images and text.
wideColumn
- 'extra wide' display width, e.g. when putting large elements side by side.
textColumn
- display width for readable areas. (headlines, paragraphs, etc)
Example
import { centerColumn, wideColumn, textColumn } from '@bit/bit.base-ui.layout.page-frame';
// ...
<div className={centerColumn}>
normal content
<div className={textColumn}>nice title</div>
<div className={textColumn}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse et sodales diam, sed sodales tellus.
Nam sodales interdum dolor, eget euismod purus.
</div>
<div>
<div className={wideColumn}>
Content breaking out of regular layout
{/* ... */}
<div>