我是靠谱客的博主 失眠钥匙,最近开发中收集的这篇文章主要介绍zoom+html+css,html - how to set zoom level using css - Stack Overflow,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

What DA said, zoom is a user controlled setting, but you can size things relative to the zoom, and if users don't use Ctr + - to size, but change the sizing by setting a default font size, you can can over-ride this default setting by setting a font-size in pixels (as opposed to ems, %, etc.).... This however, is generally considered bad practice, since it may make the lettering / sizing illegible and unchangeable to some people, who don't know about Ctr + - and rely on a default font size.

You can adjust sizing relative to the user defaults and zoom setting by setting the font-size in ems or %. This will change the sizing of things relative to the user set sizing.

This enables you to make each page look to another person how it looks to you.... since each person's perception of "small," "medium," and "large" is different.

最后

以上就是失眠钥匙为你收集整理的zoom+html+css,html - how to set zoom level using css - Stack Overflow的全部内容,希望文章能够帮你解决zoom+html+css,html - how to set zoom level using css - Stack Overflow所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(54)

评论列表共有 0 条评论

立即
投稿
返回
顶部