libcss2less
libcss2less copied to clipboard
CSS Media querys doesnt work
when i import css with this, it generates unvalid stuff and less shows an error @media (max-width: 990px) { body { background-position: -468px 0; } }
:+1: N1 tools thx
More info:
This:
@media screen and (max-width: 1000px) {
#hello {
color: blue;
}
#hello #buddy {
background: red;
}
}
Generated this, which made me queasy :)
@media {
screen {
and {
(max-width: {
1000px) {
#hello;
}
}
}
}
}
color: {
#FFF; {
#hello #buddy;
}
}
:+1:
:+1:
:+1: See also: http://stackoverflow.com/questions/15837808/fancy-media-queries-with-some-less-magic