Skip to content

Commit

Permalink
Add info about scaling/size of loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjaques committed Apr 13, 2018
1 parent d1004d3 commit 879fe9a
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 879fe9a

Please sign in to comment.