Skip to content
Permalink
Browse files

Link to versioned docs

  • Loading branch information
MartijnCuppens authored and XhmikosR committed Nov 1, 2019
1 parent ff256ca commit d5c212bbcbcf2efe97540b3b890b4b8bdf6820f2
Showing with 5 additions and 4 deletions.
  1. +1 −0 config.yml
  2. +3 −3 site/content/docs/4.3/getting-started/rfs.md
  3. +1 −1 site/content/docs/4.3/migration.md
@@ -46,6 +46,7 @@ params:

current_version: "4.3.1"
current_ruby_version: "4.3.1"
rfs_version: "9.0.2"
docs_version: "4.3"
repo: "https://github.com/twbs/bootstrap"
twitter: "getbootstrap"
@@ -8,13 +8,13 @@ toc: true

## What is RFS?

Bootstrap's side project [RFS](https://github.com/twbs/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 most CSS properties with unit values like `margin`, `padding`, `border-radius`, or even `box-shadow`.
Bootstrap's side project [RFS](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}) 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 most CSS properties with unit values like `margin`, `padding`, `border-radius`, or even `box-shadow`.

The mechanism automatically calculates the appropriate values based on the dimensions of the browser viewport. It will be compiled into `calc()` functions with a mix of `rem` and viewport units to enable the responsive scaling behavior.

## Using RFS

The mixins are included in Bootstrap and are available once you include Bootstraps' `scss`. RFS can also be installed [standalone](https://github.com/twbs/rfs#installation) if needed.
The mixins are included in Bootstrap and are available once you include Bootstraps' `scss`. RFS can also be installed [standalone](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}#installation) if needed.

### Using the mixins

@@ -81,4 +81,4 @@ In this example we use one of Bootstrap's built-in [responsive breakpoint mixins

## Extended documentation

RFS is a separate project under the Bootstrap organization. More about RFS and its configuration can be found on its [GitHub repository](https://github.com/twbs/rfs).
RFS is a separate project under the Bootstrap organization. More about RFS and its configuration can be found on its [GitHub repository](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}).
@@ -59,7 +59,7 @@ Changes to any layout tools and our grid system.

Changes to Reboot, typography, tables, and more.

- [RFS](https://github.com/twbs/rfs) enabled for automated font size rescaling. [See #29152](https://github.com/twbs/bootstrap/pull/29152)
- [RFS]({{< docsref "/getting-started/rfs" >}}) enabled for automated font size rescaling. [See #29152](https://github.com/twbs/bootstrap/pull/29152)
- Reset default horizontal `padding-left` on `<ul>` and `<ol>` elements from browser default `40px` to `2rem`.
- Simplified table styles (no more 2px border on `thead > th` elements) and tightened cell padding.
- Dropped `.pre-scrollable` class. [See #29135](https://github.com/twbs/bootstrap/pull/29135)

0 comments on commit d5c212b

Please sign in to comment.
You can’t perform that action at this time.