Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ooade committed Jan 19, 2018
1 parent 47b4d8e commit ec79826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ import Image from 'pimg/dist/preact'; //preact
render(<Image className="myImage" src='imageURL' />, document.getElementById('root'))
```

*Make sure you add this to your stylesheet:
*Then your stylesheet:

```css
.pimg { width: 500px; } // You should change this to the width of your choice
.myImage { width: 500px; } // You should change this to the width of your choice

.pimg__loading { filter: blur(5vw); transform: scale(1.05); } // This makes the thumbnail blurry
.myImage__loading { filter: blur(5vw); transform: scale(1.05); } // This makes the thumbnail blurry
```

### Examples
Expand Down

0 comments on commit ec79826

Please sign in to comment.