less.ruby icon indicating copy to clipboard operation
less.ruby copied to clipboard

@import url(some.css) only screen and (max-device-width: 480px)

Open kvakes opened this issue 14 years ago • 5 comments

This code throws syntax error.

kvakes avatar Oct 04 '11 21:10 kvakes

Example X here http://www.w3.org/TR/css3-mediaqueries/

kvakes avatar Oct 04 '11 21:10 kvakes

Also, code like this

@media only screen and (max-device-width: 480px) {
    @import "mobile";
}

doesn't work. It just doesn't include the file. But when you remove @media it works perfectly.

kvakes avatar Oct 04 '11 21:10 kvakes

If this was fixed it'd be frickin' awesome :)

sturobson avatar Dec 02 '11 21:12 sturobson

No changes on the issue?

vojkny avatar Feb 20 '12 12:02 vojkny

This was fixed in vers. 1.2.0 I think :o)

sturobson avatar Feb 24 '12 20:02 sturobson