Today I was asked what the zoom attribute in CSS is used for. Although I know that this attribute is used to clear floating to trigger haslayout. But I didn’t quite understand the specific definition, so I searched Baidu for some information about zoom properties and summarized it. CSS zoom property zoom: sets or retrieves the zoom ratio of an object, triggers the haslayout property of the IE browser, and solves some problems such as floating and margin overlapping. grammar: zoom:normal parameter: normal: Use the actual size of the object (default value) example: zoom:5 Percentage: Use percentage to define the scaling ratio. Negative numbers are not allowed. example: zoom:200% Zoom is a special property of IE browser. It was not supported by Firefox and some other browsers such as Google, and it has not passed the W3C standard. However, this property is now beginning to be standardized and has appeared in the CSS3 draft. in addition: Using the zoom attribute in CSS can enable the web page to implement the zoom in and out function in IE7. For example, if you want your web page to be half the size of its original size, add Program Code Summarize The above is the definition and function of the zoom:1 attribute in CSS introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! |
<<: Detailed explanation of Mysql function call optimization
>>: A brief discussion on Yahoo's 35 rules for front-end optimization
When inserting data, I found that I had never con...
1. Remove MySQL a. sudo apt-get autoremove --purg...
Mac comes with Apache environment Open Terminal a...
Table of contents Preface text 1. Concepts relate...
Use of stored procedure in parameters IN paramete...
<br /> CSS syntax for table borders The spec...
Students who use Ansible know that Ansible only s...
The MySQL database does not have an incremental b...
Keepalived installation: cd <keepalived_source...
css-vars-ponyfill When using CSS variables to ach...
First, you can open Moments and observe several l...
The specific steps of installing mysql5.7.18 unde...
Preface About the performance comparison between ...
Preface Docker has been very popular in the past ...
1. position : fixed Locked position (relative to ...