Code Monkey home page Code Monkey logo

Comments (6)

namiltd avatar namiltd commented on May 10, 2024

Now bootstrap-ie8.js additionally fixes:
-IE8 support for CSS Media Query
-rem units
-:: to : conversion
-:disabled, :valid, :invalid to ._disabled, ._valid, ._invalid
-rgba() to rgb() or -ms-filter
-opacity to filter:alpha(opacity)
-calc two values
bootstrap-ie8.css is much smaller

bootstrap-ie9.js fixes:
-:valid, :invalid to ._valid, ._invalid

Pull request #43

from bootstrap-ie8.

coliff avatar coliff commented on May 10, 2024

hey there! this is an interesting idea. Overall though, the aim of this project was for people to very quickly and easily add a tiny snippet of code to the page head so that the conditionally loaded CSS would make Bootstrap 4 sites appear a lot less broken. Adding RespondJS complicates things because it doesn't work on CDN-hosted stylesheets.
Furthermore, I think probably around 99% of IE8 users are using a desktop screen with at least 1000 pixels wide, so they don't need it to be responsive.

The JavaScript polyfills for calc, opacity, rgba etc might be good to add so long as they don't impact performance and they work with CDN-hosted stylesheets, but I wanted the JavaScript file to be optional so I think it's best if the CSS rules we added to address those issues to stay.

I was thinking of listing a few suggestions in the README FAQs for JavaScript polyfill scripts for people to choose whether to add them or not based on their particular project.

from bootstrap-ie8.

namiltd avatar namiltd commented on May 10, 2024

The previous bootstrap version (bootstrap 3) by default for IE8 uses script respond.js extension of which is bootstrap-ie8.js (the same CDN restrictions). For this reason I do not expect significant decrease in performance compared to the previous version. Additionally thanks to the js code, many incompatibilities have been solved (also few for IE9).

from bootstrap-ie8.

namiltd avatar namiltd commented on May 10, 2024

See #55

from bootstrap-ie8.

namiltd avatar namiltd commented on May 10, 2024

Now #55 code is updated for the future version 4.1.2 of bootstrap

from bootstrap-ie8.

namiltd avatar namiltd commented on May 10, 2024

https://github.com/namiltd/bootstrap-ie8 repository

from bootstrap-ie8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.