How can I hide a meta tag from the devices with max width:1024px?

天涯浪子 提交于 2020-01-11 13:22:08

问题


I tried the below, but it didnt work. Can you help me please?

<div class="viewport-setting"><meta name="viewport" content="maximum-scale=0.80"></div>

<style>@media (min-width: 0px) and (max-width: 1024px) {.viewport-setting {display:none !important;}}</style>

来源:https://stackoverflow.com/questions/43764920/how-can-i-hide-a-meta-tag-from-the-devices-with-max-width1024px

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!