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>2018-01-25 22:20:33 +0300
committerMartijn Cuppens <martijn.cuppens@intracto.com>2018-01-25 22:20:33 +0300
commit35e0b66d496864a9a3dcdf502a97b812cd557a0d (patch)
treef5a68862765b65c8c40305df852152b4d455719d
parent784d3d7ba03a6dd4b844e604d3a5ebf29745b13c (diff)
.sass version copy
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 49a9a4a..9c9f303 100644
--- a/README.md
+++ b/README.md
@@ -152,6 +152,13 @@ line will solve this (dirty fix):
_::-webkit-full-page-media, _:future, :root * {min-width: 0vw;}
```
+## Sass syntax
+`.sass` file available in `sass/_rfs.sass`. Mixin can be used like this:
+```sass
+.title
+ +responsive-font-size(36)
+```
+
## Best practices
- Remember to set RFS on your font size of your `html` or `body`, otherwise some text may not dynamically rescale (if
`$rfs-minimum-font-size` is decreased). Note that setting RFS on `html` can influence the value of `rem`.