htmlcss

The zoom property is used in CSS and certain HTML elements. This property controls the magnification level for the current element. The rendering effect for the element is that of a "zoom" function on a camera, or a webpage. Even though this property is not inherited, it still affects the rendering of child elements.

Values


HTML example:

<div style="zoom:200%;">This stuff is magnified by x2.</div>


CSS example:

div {
     zoom:200%;
}