mirror of
https://github.com/primer/css.git
synced 2024-12-01 12:42:32 +03:00
Add more stories
This commit is contained in:
parent
c46fe01129
commit
70790018fa
@ -5,7 +5,7 @@ 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', () => (
|
||||
.add('border-white-fade', () => (
|
||||
<div className='bg-blue text-white p-3'>
|
||||
<span className='border border-white-fade p-2'>
|
||||
.border-white-fade
|
||||
|
@ -68,7 +68,7 @@ The `.anim-pulse` class will pulse an element infinitely.
|
||||
The `.hover-grow` class will increase the scale of the element upon hover.
|
||||
|
||||
```html
|
||||
<div class="box hover-grow p-4">
|
||||
<div class="Box hover-grow p-4">
|
||||
<%= octicon("mark-github", :height => 32) %>
|
||||
</div>
|
||||
```
|
||||
|
@ -0,0 +1,14 @@
|
||||
import React from 'react'
|
||||
import { storiesOf } from '@storybook/react'
|
||||
|
||||
storiesOf('Utilities', module)
|
||||
.add('hover-grow', () => (
|
||||
<div className='Box hover-grow p-4'>
|
||||
.hover-grow
|
||||
</div>
|
||||
))
|
||||
.add('circle', () => (
|
||||
<div className='border circle p-3' style={{width: '100px', height: '100px'}}>
|
||||
.circle
|
||||
</div>
|
||||
))
|
Loading…
Reference in New Issue
Block a user