All Projects → coliff → Bootstrap Ie8

coliff / Bootstrap Ie8

Licence: mit
Bootstrap 4 for IE8 and IE9

Projects that are alternatives of or similar to Bootstrap Ie8

Startbootstrap Shop Homepage
A shop homepage Bootstrap HTML template created by Start Bootstrap
Stars: ✭ 261 (-6.12%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Blog Home
A Bootstrap HTML template for blog homepages - created by Start Bootstrap
Stars: ✭ 215 (-22.66%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Freelancer
Start Bootstrap is an open source library of free Bootstrap themes and templates. All of the free themes and templates on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 2,304 (+728.78%)
Mutual labels:  bootstrap, bootstrap-4
Top Hat
Tophat Themes - Give Bootstrap a custom, stylish look 🎩
Stars: ✭ 168 (-39.57%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Business Casual
A Bootstrap HTML theme for business websites - created by Start Bootstrap
Stars: ✭ 266 (-4.32%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Full Slider
A full page image slider Bootstrap HTML template created by Start Bootstrap
Stars: ✭ 189 (-32.01%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Blog Post
A Bootstrap HTML template for blog posts - created by Start Bootstrap
Stars: ✭ 199 (-28.42%)
Mutual labels:  bootstrap, bootstrap-4
Bootstrap Themes
Free, open source Bootstrap 4 themes
Stars: ✭ 147 (-47.12%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap One Page Wonder
A simple, one page, Bootstrap HTML website template created by Start Bootstrap
Stars: ✭ 249 (-10.43%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Bare
A bare Bootstrap HTML starter template for rapid development - created by Start Bootstrap
Stars: ✭ 235 (-15.47%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Thumbnail Gallery
A Bootstrap thumbnail gallery template created by Start Bootstrap
Stars: ✭ 166 (-40.29%)
Mutual labels:  bootstrap, bootstrap-4
Bootstrap Ie7
Bootstrap 3 CSS for IE7
Stars: ✭ 578 (+107.91%)
Mutual labels:  polyfill, bootstrap
Bootstrap Dark
Bootstrap 4 dark theme that supports togging dark/light themes as well. There is no fluff, it changes the color of Bootstrap and that's it, no new thing to learn or unlearn, just Bootstrap, but Dark!
Stars: ✭ 158 (-43.17%)
Mutual labels:  bootstrap, bootstrap-4
Bs Stepper
A stepper for Bootstrap 4.x
Stars: ✭ 261 (-6.12%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Creative
Start Bootstrap is an open source library of free Bootstrap themes and templates. All of the free themes and templates on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 1,900 (+583.45%)
Mutual labels:  bootstrap, bootstrap-4
Holy Grail Markup
All CSS methodologies compared examples at one place.
Stars: ✭ 197 (-29.14%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Clean Blog Jekyll
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 1,837 (+560.79%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Simple Sidebar
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 1,833 (+559.35%)
Mutual labels:  bootstrap, bootstrap-4
Django Bootstrap Pagination
Django template tag for rendering Page objects as Bootstrap pagination HTML
Stars: ✭ 216 (-22.3%)
Mutual labels:  bootstrap, bootstrap-4
Startbootstrap Sb Admin
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 2,861 (+929.14%)
Mutual labels:  bootstrap, bootstrap-4

LICENSE NPM Downloads github-stars-image code style: prettier

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

Several quick start options are available:

  • Download the latest release
  • Clone the repo git clone https://github.com/coliff/bootstrap-ie8.git
  • Install with npm npm install bootstrap-ie8
  • Install with yarn yarn add bootstrap-ie8
  • Install with Composer composer require coliff/bootstrap-ie8:4.3.1

Usage

  1. Add <meta http-equiv="x-ua-compatible" content="ie=edge"> to the top of the

    of your page
  2. Add the following conditional statements to the <head> of your page but after the Bootstrap 4 CSS:

<!--[if IE 9]>
  <link href="https://cdn.jsdelivr.net/gh/coliff/bootstrap-ie8/css/bootstrap-ie9.min.css" rel="stylesheet">
<![endif]-->
<!--[if lte IE 8]>
  <link href="https://cdn.jsdelivr.net/gh/coliff/bootstrap-ie8/css/bootstrap-ie8.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/g/[email protected]"></script>
<![endif]-->

Optional JavaScript Fix

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

<!--[if gte IE 9]><!-->
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!--<![endif]-->
<!--[if IE 9]>
  <script src="https://cdn.jsdelivr.net/gh/coliff/bootstrap-ie8/js/bootstrap-ie9.min.js"></script>
<![endif]-->
<!--[if lte IE 8]>
  <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
  <script src="https://cdn.jsdelivr.net/gh/coliff/bootstrap-ie8/js/bootstrap-ie8.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.js"></script>
<![endif]-->

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

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 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: http://coliff.github.io/bootstrap-ie8/test.htm

Known Issues

Thanks

BrowserStack Logo

Thanks to BrowserStack for providing the infrastructure that allows us to test in real browsers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].