html - media query was working fine but suddenly doesn't work anymore -


it worked before of sudden stopped working :(

@media screen , (max-width: 768px) { form, button, input {      width: 80vw !important;     } }   <meta name="viewport" content="width=device-width, initial-scale=1"> 

i have html, css , js code included in link below:

demo: codepen

the problem invisible special character inserted code.

it's making declaration invalid, calls css error-handling play, , rule ignored.

if copy , paste code notepad, you'll see it.

enter image description here

in computer science call a focused, non-repeating phantasm, or class-5 free roaming vapor... real nasty one, too! :-)

the simple solution delete media query , re-type it.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -