libcss2less icon indicating copy to clipboard operation
libcss2less copied to clipboard

CSS Media querys doesnt work

Open sprengel opened this issue 11 years ago • 5 comments

when i import css with this, it generates unvalid stuff and less shows an error @media (max-width: 990px) { body { background-position: -468px 0; } }

sprengel avatar May 15 '14 13:05 sprengel

:+1: N1 tools thx

MGDSoft avatar Jun 25 '14 14:06 MGDSoft

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;
    }
}

lingo avatar Jul 19 '14 12:07 lingo

:+1:

jamiis avatar Jan 13 '15 01:01 jamiis

:+1:

JordanReiter avatar Jul 20 '15 15:07 JordanReiter

:+1: See also: http://stackoverflow.com/questions/15837808/fancy-media-queries-with-some-less-magic

aphofstede avatar Jan 15 '16 07:01 aphofstede