Monday, May 23, 2016

unclosed parenthesis in media query expression

I was getting this compilation error in Visual Studio 2015 with regards to a .scss (Sass) file. I got around it by just removing a semicolon. This...

@media (min-height: 301px;) {
   .foo
   {
      overflow-y:scroll;
      overflow-x:hidden;
   }
}

 
 

...became this:

@media (min-height: 301px) {
   .foo
   {
      overflow-y:scroll;
      overflow-x:hidden;
   }
}

No comments:

Post a Comment