Skip to content

Commit

Permalink
Edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnblk committed Jul 31, 2016
1 parent 0becb3a commit d185b57
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ export default createGrid(CustomGrid)


## How it works ## How it works


The Grid component creates CSS rules based on props and insert that string into an inline style tag. The component only creates the rules it needs for itself, however other Grid components may generate duplicative styles of their own. The Grid component uses `display: inline-block` to create grid layouts.
It creates CSS rules based on props and inserts that string into an inline style tag.
The component only creates the rules it needs for itself,
however other Grid components may generate duplicative styles of their own.


## Caveats ## Caveats
- Produces an inline style tag within the body - Produces an inline style **tag** within the body (e.g. not inline styles)
- Similar component instances create duplicative CSS rules – this may or may not affect performance - Similar component instances create duplicative CSS rules – this may or may not affect performance
- Atomic class selectors are global - Atomic class selectors are global


Expand Down

0 comments on commit d185b57

Please sign in to comment.