1
1
mirror of https://github.com/primer/css.git synced 2024-09-20 13:17:29 +03:00

Marketing utils story

This commit is contained in:
Sophie Shepherd 2017-11-03 15:36:28 -05:00
parent 8fec79df9b
commit c46fe01129

View File

@ -0,0 +1,21 @@
import React from 'react'
import { storiesOf } from '@storybook/react'
storiesOf('Marketing Utilities', module)
.add('Responsive borders', () => (
<div className='border-top border-sm-right border-md-bottom border-lg-top-0'>.border-top-0</div>
))
.add('Border colors', () => (
<div className='bg-blue text-white p-3'>
<span className='border border-white-fade p-2'>
.border-white-fade
</span>
</div>
))
.add('Responsive position', () => (
<div className='position-relative p-6 bg-gray'>
<div className='d-inline-block position-md-absolute bottom-0 right-0 border bg-white p-2'>
.position-md-absolute
</div>
</div>
))