禁止浏览器缩放网页的HTML代码_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:28
Original
2143 people have browsed it

禁止浏览器缩放网页的HTML代码

html5默认允许用户缩放页面,如果需要禁止缩放,我们需要将user-scalabel=0设置下,具体代码如下:

Copy after login

注意:meta在head里。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!