Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-06-22 21:16:30 +0300
committerMartijn Cuppens <martijn.cuppens@gmail.com>2020-06-22 21:16:30 +0300
commit9b69174d7860f0716df160a4721e970e859116bf (patch)
treeb8167156ace61420a722c1e1a2cb14b24f1fb57f /README.md
parentf92a04ec79894756beed59b43ccbe989bd209021 (diff)
Rename master to main
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 73b5892..bff807b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img src="https://raw.githubusercontent.com/twbs/rfs/master/rfs.svg?sanitize=true" alt="RFS logo" width="99" height="108.6">
+ <img src="https://raw.githubusercontent.com/twbs/rfs/main/rfs.svg?sanitize=true" alt="RFS logo" width="99" height="108.6">
</p>
RFS is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling basically every value for any css property with units, like `margin`, `padding`, `border-radius` or even `box-shadow`.
@@ -42,7 +42,7 @@ The mechanism **automatically calculates the appropriate values** based on the d
The following example shows the effect of RFS on font sizes:
-![RFS](https://raw.githubusercontent.com/twbs/rfs/master/.github/rfs-rescale.gif)
+![RFS](https://raw.githubusercontent.com/twbs/rfs/main/.github/rfs-rescale.gif)
## Installation
@@ -250,7 +250,7 @@ project/
└── ...
```
-Have a look at the [examples folder](https://github.com/twbs/rfs/tree/master/examples/postcss) to find examples on how your PostCSS setup can be configured.
+Have a look at the [examples folder](https://github.com/twbs/rfs/tree/main/examples/postcss) to find examples on how your PostCSS setup can be configured.
```postcss
// postcss/main.css
@@ -476,7 +476,7 @@ If you're using Webpack, you can simplify the `@import` using the `~` prefix:
If you wonder how the values are rescaled, wonder no more and stare at this graph which might clarify things a bit:
-![RFS visualisation](https://raw.githubusercontent.com/twbs/rfs/master/.github/rfs-graph.svg?sanitize=true)
+![RFS visualisation](https://raw.githubusercontent.com/twbs/rfs/main/.github/rfs-graph.svg?sanitize=true)
Each color represents another value being rescaled. For example:
@@ -607,12 +607,12 @@ RFS is supported by all browsers that support [media queries](https://caniuse.co
## Copyright and license
-Code released under [the MIT license](https://github.com/twbs/rfs/blob/master/LICENSE).
+Code released under [the MIT license](https://github.com/twbs/rfs/blob/main/LICENSE).
[npm-image]: https://img.shields.io/npm/v/rfs.svg
[npm-url]: https://npmjs.org/package/rfs
[licence-image]: https://img.shields.io/npm/l/rfs.svg
-[license-url]: https://github.com/twbs/rfs/blob/master/LICENSE
+[license-url]: https://github.com/twbs/rfs/blob/main/LICENSE
[build-image]: https://github.com/twbs/rfs/workflows/Tests/badge.svg
[build-url]: https://github.com/twbs/rfs/actions?workflow=Tests
[devDeps-image]: https://img.shields.io/david/dev/twbs/rfs.svg