Skip to content

Commit

Permalink
Merge pull request #86 from jonjaques/patch-1
Browse files Browse the repository at this point in the history
Add info about scaling/size of loaders to Readme
  • Loading branch information
ConnorAtherton committed Jun 13, 2018
2 parents 172eb1e + 879fe9a commit dee8aab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -54,6 +54,16 @@ Add styles to the correct child `div` elements
}
```

##### Changing the loader size

Use a [2D Scale](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale) `transform`

```css
.loader-small .loader-inner {
transform: scale(0.5, 0.5);
}
```

### Browser support

Check the [can I use](http://caniuse.com/#search=css-animation) [tables](http://caniuse.com/#search=css-transform).
Expand Down

0 comments on commit dee8aab

Please sign in to comment.