Is there a CSS Code for Page Zoom?

  • Is there s CSS code that mimics Opera's page zoom? I know about the page zoom feature in Opera. But I would still like to know code. Do let me know guys.

  • In CSS3 it is the zoom property:

    * { zoom:300%}
    
  • In CSS3 it is the zoom property:

    • { zoom:300%}

    Hi gwen-dragion. That code doesn't work in Opera. Are you sure its correct? Just to let you know, I used it in the following format in Stylish:

    • { zoom:300% !important;}

    It doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.

    You also mentioned CSS3. I've used regular CSS, so I'm not familiar with CSS3. What exactly is this?

  • Zoom is a kludge and not part of the standard. It is supported in some browsers but not all and is not recommended for general purpose websites.

    Look into Transform, specifically Scale.

    http://www.w3schools.com/cssref/css3_pr_transform.asp

  • @lando242

    Zoom is a kludge and not part of the standard. It is supported in some browsers but not all and is not recommended for general purpose websites.

    Yes, zoom property is not available on all browsers.

    But the treadstarter did not ask for CSS3 and browser comaptibility. ;)

    Look into Transform, specifically Scale.

    Dow not work correctly on Opera 12 ;)

    @okolox

    It doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.

    body { zoom: 2 }
    

    works in Opera 26.

  • @lando242

    Look into Transform, specifically Scale.

    Dow not work correctly on Opera 12
    @okolox

    It doesn't work. the 'zoom' is rendered in red in Stylish, meaning that its not a code it recognizes. Let me know your further suggestions.

    Hi, gwen-dragon. So are you saying that Transform doesn't work at all in Opera 12? Or, that it doesn't work correctly in it? if Transform doesn't work in Opera 12, what are my other options do you think?

  • @okolox

    So are you saying that Transform doesn't work at all in Opera 12? Or, that it doesn't work correctly in it? if Transform doesn't work in Opera 12, what are my other options do you think?

    Sorry, transform is buggy in Opera 12. See http://www.opera.com/docs/specs/presto2.12/css/transforms/

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.