Skip to content

Commit ec2b22b

Browse files
Remove font size mixin docs stylus (#132)
* Remove font-size mixin in docs for stylus See #129 (comment) for additional info
1 parent 62fef17 commit ec2b22b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,12 @@ project/
143143
@import "../node_modules/rfs/stylus";
144144
145145
.title
146-
font-size(4rem)
147-
// or
148146
responsive-font-size(64px)
149147
// or
150148
rfs(64)
151149
```
152150

151+
Note the `font-size` mixin can not be used to set the font size. That is because a `font-size()` mixin would override the `font-size` property. See [129#issuecomment-477926416](https://github.com/twbs/rfs/pull/129#issuecomment-477926416) for more info.
153152

154153
### Generated css
155154

0 commit comments

Comments
 (0)