These patches provide basic support for the Bootstrap grid system in Internet Explorer 6. The JavaScript code requires jQuery.
Feel free to fork & improve.
// Creating a map with our colors: | |
$colors: ( | |
primary:#f37021, | |
secondary:#b4341d, | |
); | |
// Declaring colors as global variables of page | |
:root { | |
@each $name, $color in $colors { | |
--color-#{$name}: #{$color}; |
// only bind if placeholder isn't natively supported by the browser | |
if (!('placeholder' in input)) { | |
$('input[placeholder]').each(function () { | |
'use strict'; | |
var self = $(this); | |
self.val(self.attr('placeholder')).bind({ | |
focus: function () { | |
if (self.val() === self.attr('placeholder')) { |
These patches provide basic support for the Bootstrap grid system in Internet Explorer 6. The JavaScript code requires jQuery.
Feel free to fork & improve.