aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-07-25 23:14:16 +0300
committerXhmikosR <[email protected]>2018-07-26 06:41:29 +0300
commita194abbb5aaa999f5c0eba4bba4f7aff6ab2d0ad (patch)
treed4e364ad7cba6fe761a045b74137006af576c449
parent4f926671e942658b6aaca969614fc5f00dce612e (diff)
downloadbootstrap-a194abbb5aaa999f5c0eba4bba4f7aff6ab2d0ad.tar.xz
bootstrap-a194abbb5aaa999f5c0eba4bba4f7aff6ab2d0ad.zip
Update browsers-devices.md
-rw-r--r--site/docs/4.1/getting-started/browsers-devices.md31
1 files changed, 16 insertions, 15 deletions
diff --git a/site/docs/4.1/getting-started/browsers-devices.md b/site/docs/4.1/getting-started/browsers-devices.md
index 8a4b0c8d7..f9ebf36a7 100644
--- a/site/docs/4.1/getting-started/browsers-devices.md
+++ b/site/docs/4.1/getting-started/browsers-devices.md
@@ -12,21 +12,22 @@ Bootstrap supports the **latest, stable releases** of all major browsers and pla
Alternative browsers which use the latest version of WebKit, Blink, or Gecko, whether directly or via the platform's web view API, are not explicitly supported. However, Bootstrap should (in most cases) display and function correctly in these browsers as well. More specific support information is provided below.
-You can find our supported range of browsers and their versions [in our `package.json`]({{ site.repo }}/blob/v4-dev/package.json):
-
-```json
-"browserslist": [
- "last 1 major version",
- ">= 1%",
- "Chrome >= 45",
- "Firefox >= 38",
- "Edge >= 12",
- "Explorer >= 10",
- "iOS >= 9",
- "Safari >= 9",
- "Android >= 4.4",
- "Opera >= 30"
-]
+You can find our supported range of browsers and their versions [in our `.browserslistrc file`]({{ site.repo }}/blob/v4-dev/.browserslistrc):
+
+```
+# https://github.com/browserslist/browserslist#readme
+
+>= 1%
+last 1 major version
+not dead
+Chrome >= 45
+Firefox >= 38
+Edge >= 12
+Explorer >= 10
+iOS >= 9
+Safari >= 9
+Android >= 4.4
+Opera >= 30
```
We use [Autoprefixer](https://github.com/postcss/autoprefixer) to handle intended browser support via CSS prefixes, which uses [Browserslist](https://github.com/browserslist/browserslist) to manage these browser versions. Consult their documentation for how to integrate these tools into your projects.