@teambit/base-ui.layout.col-span
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Column Span

Preset columns spans, for a 12-column CSS-grid.

import { colSpan } from '@bit/bit.base-ui.layout.col-span';

//...

return <div className={colSpan[8]}>I'm taking up 3/4 of the line</div>;

Responsive presets:

import { colSpanL, colSpan } from '@bit/bit.base-ui.layout.col-span';

//...

<div className={classNames(colSpan[12], colSpanL[6])}>I'm taking up 3/4 of the line</div>;

breakpoints:

  • colSpan (all)
  • colSpanXs 360px
  • colSpanSm 480px
  • colSpanMd 768px
  • colSpanL 920px
  • colSpanLg 1080px
  • colSpanXl 1440px

Readme

Keywords

none

Package Sidebar

Install

npm i @teambit/base-ui.layout.col-span

Weekly Downloads

1

Version

1.0.0

License

SEE LICENSE IN LICENSE

Unpacked Size

9.71 kB

Total Files

16

Last publish

Collaborators

  • learn-bit
  • teambit-owner
  • shohamgilad
  • davidfirst
  • lalybar
  • ranm8
  • odedre
  • guysaar
  • itaymendel
  • erezbit
  • joshk2
  • redigma
  • yona007
  • jonisar
  • ocombe