PHPackages                             coliff/bootstrap-ie8 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. coliff/bootstrap-ie8

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

coliff/bootstrap-ie8
====================

Bootstrap 4 for IE8 and IE9

v4.3.1(7y ago)28142643MITHTMLCI passing

Since Dec 22Pushed 4y ago20 watchersCompare

[ Source](https://github.com/coliff/bootstrap-ie8)[ Packagist](https://packagist.org/packages/coliff/bootstrap-ie8)[ RSS](/packages/coliff-bootstrap-ie8/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (3)Used By (0)

[![LICENSE](https://camo.githubusercontent.com/891419a00e04aa0e311068fa8a04eec92cab4f7026c76278279bf2a1da50e578/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](https://raw.githubusercontent.com/coliff/bootstrap-ie8/master/LICENSE)[![NPM Downloads](https://camo.githubusercontent.com/07614ce8cedeb26fec8fd9b34a25198608ca10ce33f6c0eff9050f4156f34db5/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64742f626f6f7473747261702d6965382e737667)](https://www.npmjs.com/package/bootstrap-ie8)[![](https://camo.githubusercontent.com/67cd9ab6d566de983cb670e1c59f0cb9669fba4976c12416f27f3a20f9d31744/68747470733a2f2f646174612e6a7364656c6976722e636f6d2f76312f7061636b6167652f67682f636f6c6966662f626f6f7473747261702d6965382f6261646765)](https://www.jsdelivr.com/package/gh/coliff/bootstrap-ie8)[![github-stars-image](https://camo.githubusercontent.com/e01b39fd3e4f6c66aac2d134c08029d3fb606870fcdb193e9c3785616013a5f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f636f6c6966662f626f6f7473747261702d6965382e7376673f6c6162656c3d6769746875622532307374617273)](https://github.com/coliff/bootstrap-ie8)[![code style: prettier](https://camo.githubusercontent.com/fa1096c501361805c36b519890a25f61cd45dde376718bb2f5af65a656f4c0fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64655f7374796c652d70726574746965722d6666363962342e7376673f7374796c653d666c61742d737175617265)](https://github.com/prettier/prettier)

Bootstrap 4 for IE8 and IE9
===========================

[](#bootstrap-4-for-ie8-and-ie9)

Bootstrap 4 drops support for Internet Explorer 8 and 9, but you can add it back by simply adding a conditional statement targeting IE 8 and 9 with a CSS file and a CDN-hosted JavaScript file to polyfill HTML5 element support.

### Quick start

[](#quick-start)

Several quick start options are available:

- [Download the latest release](https://github.com/coliff/bootstrap-ie8/archive/v4.3.1.zip)
- Clone the repo `git clone https://github.com/coliff/bootstrap-ie8.git`
- Install with [npm](https://www.npmjs.com/package/bootstrap-ie8) `npm install bootstrap-ie8`
- Install with [yarn](https://yarnpkg.com/en/package/bootstrap-ie8) `yarn add bootstrap-ie8`
- Install with [Composer](https://getcomposer.org/) `composer require coliff/bootstrap-ie8:4.3.1`

### Usage

[](#usage)

1. Add `` to the top of the of your page
2. Add the following conditional statements to the `` of your page but after the Bootstrap 4 CSS:

```

```

#### Optional JavaScript Fix

[](#optional-javascript-fix)

To fix the dropdown menus and modals you can add the following to the footer:

```

```

This will load jQuery, PopperJS and Bootstrap as normal on all browsers other than IE8. IE9 will load the `bootstrap-ie9.js` script. IE8 will load the latest compatible version of jQuery, the unminified Bootstrap JS (the minified version causes an error) and the `bootstrap-ie8.js` fix.

### FAQS

[](#faqs)

**Q. What does this fix/polyfill?**

A. Internet Explorer 9 doesn't support flexbox so there is a float-based layout fallback and a couple of other minor fixes. Internet Explorer 8 doesn't support rem units so all units are specified in pixels. Media Queries are also not supported so IE8 has a fixed-width layout (min-width 998px).

**Q. Is the CSS hosted on a CDN?**

A. Yes, thanks to [JSDelivr](https://www.jsdelivr.com/package/gh/coliff/bootstrap-ie8?path=css) minified versions are available with the direct links:

-
-

**Q. Will you provide LESS/SASS files?**

A. Maybe in a future release I'll provide SASS file (with comments).

**Q. Do I need the RespondJS polyfill for IE8 like Bootstrap 3 uses?**

A. No. Instead the CSS is set to be fixed-width which makes things a lot easier. You don't need to change your HTML markup, the CSS will take care of it as the (min-width:992px) media queries are all set.

**Q. Where can I see a demo?**

A. Right here:

### Known Issues

[](#known-issues)

- View a list of known issues at

### Thanks

[](#thanks)

[ ![BrowserStack Logo](https://camo.githubusercontent.com/941d167418955d863ee5cb7b8e030514ab8bf23b2ffed99c298ce156741b7ca9/68747470733a2f2f6c6976652e62726f77736572737461636b2e636f6d2f696d616765732f6f70656e736f757263652f62726f77736572737461636b2d6c6f676f2e737667)](https://www.browserstack.com/)Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to test in real browsers

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 81.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Total

2

Last Release

2638d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6068e9ba0ce8defec6b107f1cc3b99c2fd91f75298b48f71cc3dbfdc20870a8?d=identicon)[coliff](/maintainers/coliff)

---

Top Contributors

[![coliff](https://avatars.githubusercontent.com/u/1212885?v=4)](https://github.com/coliff "coliff (334 commits)")[![namiltd](https://avatars.githubusercontent.com/u/2226999?v=4)](https://github.com/namiltd "namiltd (69 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![EifX](https://avatars.githubusercontent.com/u/882472?v=4)](https://github.com/EifX "EifX (1 commits)")[![florentroques](https://avatars.githubusercontent.com/u/1901827?v=4)](https://github.com/florentroques "florentroques (1 commits)")

---

Tags

bootstrapbootstrap-4bootstrap-ie8cssie8ie9polyfill

### Embed Badge

![Health badge](/badges/coliff-bootstrap-ie8/health.svg)

```
[![Health](https://phpackages.com/badges/coliff-bootstrap-ie8/health.svg)](https://phpackages.com/packages/coliff-bootstrap-ie8)
```

###  Alternatives

[patricktalmadge/bootstrapper

Twitter Bootstrap markup generator

557407.2k4](/packages/patricktalmadge-bootstrapper)[serhioromano/bootstrap-calendar

Bootstrap full view calendar.

3.0k5.9k2](/packages/serhioromano-bootstrap-calendar)[mapbender/mapbender

Mapbender library

10117.4k5](/packages/mapbender-mapbender)[datatables.net/datatables.net-bs5

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. This is DataTables with styling for \[Bootstrap5\](https://getbootstrap.com/)

2185.7k16](/packages/datatablesnet-datatablesnet-bs5)[datatables.net/datatables.net-bs4

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. This is DataTables with styling for \[Bootstrap4\](https://getbootstrap.com/docs/4.6/getting-started/introduction/)

2924.0k15](/packages/datatablesnet-datatablesnet-bs4)[datatables.net/datatables.net-bs

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. This is DataTables with styling for \[Bootstrap\](https://getbootstrap.com/docs/3.3/)

161.4k14](/packages/datatablesnet-datatablesnet-bs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
