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@intracto.com>2017-11-14 23:33:49 +0300
committerMartijn Cuppens <martijn.cuppens@intracto.com>2017-11-14 23:33:49 +0300
commit44e2d91dd1f706223e666e5e7fa19aaeaf61b99e (patch)
treea9398e0bdc254aad582cbdea1789522bf6011361
parent9e9df34110ad27b38ac5111f925031b8c55bfb2e (diff)
Do's en don'ts section
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index d0ef03f..0d5fb0f 100644
--- a/README.md
+++ b/README.md
@@ -95,6 +95,10 @@ This value determines the strength of font size resizing. The higher `$rfs-facto
Enabling the two dimensional media queries will determine the font size based on the smallest side of the screen with `vmin`. This prevents the font size from changing if the device toggles between portrait and landscape mode.
*Default value: `false`*
+## Do's and don'ts
+- Remember to set rfs on your font-size of your `html` or `body`, otherwise some text may not dynamically rescale
+- Always set your line-heights relative (in `em` or unitless)
+- More tips and tricks with examples can be found [on this article](https://medium.com/@martijn.cuppens/magic-font-resizing-with-rfs-b5d781296dd6)
## Demos
- [Simple Codepen Demo](http://codepen.io/MartijnCuppens/pen/ZBjdMy)