如上图片所示,我想在当可视窗口等于或小于960px的时候,把原先的宽度变成85%,但是却没有看到断点生效,请教下这是什么原因
960px
闭关修行中......
css priority issue. You need to put the @media code at the back.
According to your information, the order of global style and media query style is reversed. Under given conditions, global style overrides media query style.
I think your screen width is not as small as you set, so the media query style will not be used
css priority issue. You need to put the @media code at the back.
According to your information, the order of global style and media query style is reversed. Under given conditions, global style overrides media query style.
I think your screen width is not as small as you set, so the media query style will not be used