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

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -