markdown CSS_media_query_max_width_not_working

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown CSS_media_query_max_width_not_working相关的知识,希望对你有一定的参考价值。

Refer: https://stackoverflow.com/questions/30706407/css-max-width-for-media-query-not-working

```css
@media only screen and (max-width:1400px)  {
.heading-left {
    left: -0.5%;
  }
}
```

Header add this fragments
```HTML
<meta name="viewport" content="width=device-width, initial-scale=1">
```

>Viewport is used when rendering responsive pages and is therefore mostly used
when dealing with mobile websites, but when dealing with media queries 
it helps tell the CSS `what the actual device-width` is.

以上是关于markdown CSS_media_query_max_width_not_working的主要内容,如果未能解决你的问题,请参考以下文章

markdown预览前端实现是用正则匹配么

Markdown用法解析

MarkDown

Markdown 笔记

Markdown 基本入门使用

markdown 原型和__proto__