possible to shrink contents of iframe?

后端 未结 6 2041
长情又很酷
长情又很酷 2020-12-02 18:46

Is there a way to shrink what\'s inside an iframe without adjusting css?

any magical \'zoom\' parameter out there?!!!

I have a 600px preview iframe i want to

6条回答
  •  Happy的楠姐
    2020-12-02 19:48

    I have several shopping sites that I have ported to my new site and after fixing the view/vantage point of focus heres what I got... the site fit nicely inside my iframe per page... the font size difference is better than the focus issue... I guess it was a good trade off

        #wrap {  
            width: 115%;
            height: 2000px;
            padding: 0;
            overflow: hidden;
    }
        #frame {  
            -ms-zoom: 0.5;
            -ms-transform-origin: 0 0;
            -moz-transform: scale(0.75);
            -moz-transform-origin: 0px 75px;
            -o-transform: scale(0.75);
            -o-transform-origin: 0px 75px;
            -webkit-transform: scale(0.75);
            -webkit-transform-origin: 0 0;
    }
        #frame {
            width: 115%;
            height: 2000px;
            overflow: hidden;
    }
    
        

提交回复
热议问题