Permalink
Browse files

Fix IE 9 bug

  • Loading branch information...
1 parent cef1222 commit 8c447a2e096925450bbd9b2d64b9ec28e557dc75 @plehoux committed Jul 6, 2012
Showing with 13 additions and 5 deletions.
  1. +7 −1 css/main.css
  2. +1 −0 index.html
  3. +1 −1 js/main.js
  4. +1 −1 js/particle.js
  5. +1 −1 src/coffee/particle.coffee
  6. +2 −1 src/stylus/main.styl
View
@@ -148,14 +148,20 @@ select {
vertical-align: middle;
}
body {
- background-color: #f4f4f4;
+ background-color: #fff;
font-size: 18px;
padding: 0;
}
header {
width: 100%;
font-family: "freight-sans-pro", sans-serif;
background-color: #e8e8e8;
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0.01, #ededed), color-stop(1, #f4f4f4));
+ background: -webkit-linear-gradient(top, #ededed 1%, #f4f4f4 100%);
+ background: -moz-linear-gradient(top, #ededed 1%, #f4f4f4 100%);
+ background: -o-linear-gradient(top, #ededed 1%, #f4f4f4 100%);
+ background: -ms-linear-gradient(top, #ededed 1%, #f4f4f4 100%);
+ background: linear-gradient(top, #ededed 1%, #f4f4f4 100%);
padding: 1em 0 0.5em 0;
}
header h1 {
View
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>fontBomb - Stylishly destroy the web</title>
View
Oops, something went wrong.
View
Oops, something went wrong.
@@ -38,7 +38,7 @@ class Particle
transform = "translate(#{@transformX}px, #{@transformY}px) rotate(#{@transformRotation}deg)"
@style['MozTransform'] = transform
@style['WebkitTransform'] = transform
- @style['MsTransform'] = transform
+ @style['msTransform'] = transform
@style['transform'] = transform
this.Particle = Particle
@@ -2,14 +2,15 @@
@import 'nib'
body
- background-color:#f4f4f4
+ background-color:#fff
font-size:18px
padding:0
header
width:100%
font-family: "freight-sans-pro",sans-serif
background-color:#e8e8e8;
+ background: linear-gradient(top, #EDEDED 1%,#f4f4f4 100%)
padding:1em 0 0.5em 0
h1

0 comments on commit 8c447a2

Please sign in to comment.