如何使当前网站具有响应能力? [英] how to make a current website responsive?

查看:124
本文介绍了如何使当前网站具有响应能力?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使我当前的网站具有响应能力.这是一个庞大的动态网站,我不想为移动设备创建单独的网站,也不想更改<Doctype><html>.如果通过手机访问网站,是否可以插入用于更改<Doctype><html>标签的脚本?

I want to make my current website responsive. It's a huge dynamic website and I do not want to make a separate website for mobile or change the <Doctype> or <html>. Is it possible to insert a script that changes the <Doctype> and <html> tags if a website is accessed via a mobile?

推荐答案

无需更改任何标签.这就是媒体查询的目的.

No need to change any tags. This is what Media queries are for.

这篇关于如何使当前网站具有响应能力?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆