Skip to content

Commit

Permalink
Remove font size mixin docs stylus (#132)
Browse files Browse the repository at this point in the history
* Remove font-size mixin in docs for stylus

See #129 (comment) for additional info
  • Loading branch information
MartijnCuppens committed Apr 3, 2019
1 parent 62fef17 commit ec2b22b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,12 @@ project/
@import "../node_modules/rfs/stylus";
.title
font-size(4rem)
// or
responsive-font-size(64px)
// or
rfs(64)
```

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.

### Generated css

Expand Down

0 comments on commit ec2b22b

Please sign in to comment.