How can you flip website upside down in IE ? (for the April 1st)

前端 未结 4 1401
-上瘾入骨i
-上瘾入骨i 2021-01-31 09:00

We are making April 1st prank in our office, and wanted to flip our corporate website upside down for several hours tomorrow :)

My patch works everywhere but not in IE..

相关标签:
4条回答
  • 2021-01-31 09:41

    A slightly simpler version for IE (no matrix stuff):

    body {
      filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
    }
    
    0 讨论(0)
  • 2021-01-31 09:45

    EDIT: This doesn't work.

    Try

    body {
         -moz-transform: rotate(180deg);  
           -o-transform: rotate(180deg);  
      -webkit-transform: rotate(180deg);  
          -ms-transform: rotate(180deg);  
              transform: rotate(180deg);  
                 filter: progid:DXImageTransform.Microsoft.Matrix( 
                         M11=-1, M12=-1.2246063538223773e-16, M21=1.2246063538223773e-16, M22=-1, sizingMethod='auto expand');
                   zoom: 1;
    }
    

    Demo: http://static.arounds.org/moz.html

    Generated with: http://css3please.com/

    0 讨论(0)
  • 2021-01-31 10:04

    Your CSS is specific to webkit and firefox.

    You will need to use -ms-transform in IE9, otherwise check out this link for other versions of IE

    0 讨论(0)
  • 2021-01-31 10:06

    Try this: http://msdn.microsoft.com/en-us/library/ms533014(VS.85,loband).aspx

    0 讨论(0)
提交回复
热议问题