Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

further tweaks to refactor

  • Loading branch information...
commit a28db804b47cd0615c048163f3ff7ebf45bb6c4e 1 parent b1b159d
@addyosmani addyosmani authored
Showing with 2 additions and 4 deletions.
  1. +1 −2  css/demos.css
  2. +1 −2  js/ui.coverflow.js
View
3  css/demos.css
@@ -372,8 +372,7 @@ div.wrapper {
display: inline-block;
height: 600px;
width: 2600px;
->width:2900px;
->margin-left:-200px;
+
padding: 42px;
position: absolute;
top: 0px;
View
3  js/ui.coverflow.js
@@ -24,7 +24,6 @@
if(prop in elem.style){
pref = (prop);
}
- //return '-' + pref.toLowerCase() + '-';
return pref;
}
@@ -136,7 +135,7 @@
//css[($.browser.safari ? 'webkit' : ($.browser.opera ? 'O' : 'Moz'))+'Transform'] = 'matrix(1,'+(mod * (side == 'right' ? -0.2 : 0.2))+',0,1,0,0) scale('+(1+((1-mod)*0.3)) + ')';
- if(vendorPrefix == 'ms'){
+ if(vendorPrefix == 'ms' || vendorPrefix == ""){
css["filter"] = "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=1, M12=0, M21=" + (mod * (side == 'right' ? -0.2 : 0.2)) + ", M22=1";
css[self.props[2]] = ( (-i * (self.itemSize/2)) + (side == 'right'? -self.itemSize/2 : self.itemSize/2) * mod );
Please sign in to comment.
Something went wrong with that request. Please try again.