css - Media query not found in my style section -


do have add link or file media queries work. when try use media query inline in .cshtml file red line under '@media' says "cannot resolve symbol media". in asp.net mvc project. when move media query it's own .css file works fine. media queries not allowed inline in asp mvc project?

enter image description here

here solved it.

 @@media screen , (max-width:768px) {     /* size 'xs' , below */     .searchresults {       height: 100%;     }

i added 2 @ symbols.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -