Only first media query working

前端 未结 2 921
猫巷女王i
猫巷女王i 2021-01-28 06:03

When using media queries, only the first set seems to work and I don\'t know why. If I swap them around, then still, only the first one works. I\'ve tried changing from max-widt

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-28 06:48

    Nevermind, figured it out.

    There somehow was a hidden character in the CSS. This is odd considering that I typed everything else myself, maybe Dreamweaver put it there? A glitch maybe? Anyway, copying it over to MS Word and pasting it back into Dreamweaver fixed it.

    P.S Thanks for your help!

提交回复
热议问题