css:viewport解决@media媒体查询不生效

<!-- 注意这个配置必须要有 -->
<meta name=4;viewport4; content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
.container {
display: block;
}
/* 手机端隐藏效果*/
@media only screen and (max-width: 768px) {
.container {
display: block;
}
}
</style>