• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Is there a CSS Code for Page Zoom?

    Opera for Windows
    3
    7
    2072
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • okolox
      okolox last edited by

      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.

      Reply Quote 0
        1 Reply Last reply
      • Deleted User
        Deleted User last edited by

        In CSS3 it is the zoom property:

        * { zoom:300%}
        
        Reply Quote 0
          1 Reply Last reply
        • okolox
          okolox last edited by

          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?

          Reply Quote 0
            1 Reply Last reply
          • lando242
            lando242 last edited by

            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

            Reply Quote 0
              1 Reply Last reply
            • Deleted User
              Deleted User last edited by

              @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.

              Reply Quote 0
                1 Reply Last reply
              • okolox
                okolox last edited by

                @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?

                Reply Quote 0
                  1 Reply Last reply
                • Deleted User
                  Deleted User last edited by

                  @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/

                  Reply Quote 0
                    1 Reply Last reply
                  • First post
                    Last post

                  Computer browsers

                  • Opera for Windows
                  • Opera for Mac
                  • Opera for Linux
                  • Opera beta version
                  • Opera USB

                  Mobile browsers

                  • Opera for Android
                  • Opera Mini
                  • Opera Touch
                  • Opera for basic phones

                  • Add-ons
                  • Opera account
                  • Wallpapers
                  • Opera Ads

                  • Help & support
                  • Opera blogs
                  • Opera forums
                  • Dev.Opera

                  • Security
                  • Privacy
                  • Cookies Policy
                  • EULA
                  • Terms of Service

                  • About Opera
                  • Press info
                  • Jobs
                  • Investors
                  • Become a partner
                  • Contact us

                  Follow Opera

                  • Opera - Facebook
                  • Opera - Twitter
                  • Opera - YouTube
                  • Opera - LinkedIn
                  • Opera - Instagram

                  © Opera Software 1995-