跳到主要內容

發表文章

目前顯示的是 11月, 2013的文章

[CSS3] background-size: cover; 在IE8如何替代?

background-size: cover; 在IE8如何替代? filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/logo.gif', sizingMethod='scale'); -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/logo.gif', sizingMethod='scale')"; 如果使用了html5shiv'images/logo.gif' 請改為絕對路徑 'http://www/images/logo.gif'

IE8如何做到CSS3的Scale?

其實不難,但要手動用CSS調,若要置中放大,就要好好教準位置 js: $( this ).css( "transform", "scale(1.1)" ); $( this ).addClass("transformedObject"); CSS: .transformedObject { left: -5px; top: -5px; position: relative;    /* IE8+ - must be on one line, unfortunately */    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.1, M12=0, M21=0, M22=1.1, SizingMethod='auto expand')";      /* IE6 and 7 */    filter: progid:DXImageTransform.Microsoft.Matrix(             M11=1.1,             M12=0,             M21=0,             M22=1.1,             SizingMethod='auto expand');    /*     * To make the transform-origin be the middle of     * the object.    Note: These numbers     * are approximations.  For more accurate results,     * use Internet Explorer with this tool.     */    margin-left: -14px;    margin-top: -6px; } 

老舊 Mac Mini 2007 mid 如何安裝 Mac OSX 10.8.4 Mountain Lion

Mac Mini 2007 mid 只支援到osx 10.7 Lion, 不能用xcode5, 只支援xcode4 (ios6) 當然要上10.8.4才行 1.安裝根據這篇 : [Guide] Success! Install 10.8 on old unsupported Mac 2.下載OSX 10.8.4 dmg , 和 mlpostfactor.dmg 3.把兩個.app安裝檔丟入應用程式 4.分割磁碟 ML(20g) 和install (8g) 5.開啟 mlpostfactor 安裝進install 6.重開機 按option(alt)進入EFI Boot (黃色 7.安裝到ML, 若變成灰色 ->重進EFI Boot修復磁碟權限 直到安裝成功 8.成功後將上方的工具->  mlpostfactor打開 再安裝到ML 9.基本上就完成了  程序跟教學有點差異 Orzz 10. Xcode5也就可以安裝了