mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Link to versioned docs
This commit is contained in:
parent
ff256ca23c
commit
d5c212bbcb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user